Sorts the contents of an array.
The contents of the result are the sorted indices, not the values themselves.
a = [4.0, 3.0, 7.0, 1.0, 2.0]
b = SORT(a)
PRINT, b
PRINT, a(b)