Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.571 sort

sort(array [, /heap, /shell, /axis])

Sorts the elements of array in ascending order, either along the 0th dimension (if keyword /axis is specified), or as one big 1-dimensional array. Uses heap sort if keyword /heap is used, or shell sort if keyword /shell is used, or otherwise the default method, which is heap sort if !sort_flag equals 0, or shell sort if it equals 1.

See also: index, !sort_flag