FUNCTION Sort ( [ Mode AS Integer ] ) AS Integer[]
Sorts the array.
Mode can have the following value: