4.1 Sort simple members

 

A
1 =[3,5,6,7,1,2,1,6,654,32,13,56,13,76,87,98,null]
2 =A1.sort()
3 =A1.sort@z()
4 =A1.sort@0()
5 =A1.sort@z0()

A1 Generate a sequence.
A2 Sort A1 in ascending order; null is treated as the smallest value by default.
A3 Sort A1 in descending order; null is treated as the smallest value by default.
A4 Sort A1 in ascending order; @0 option enables treating null as the largest value.
A5 Sort A1 in descending order; @0 option enables treating null as the largest value.