Sorts the values of numeric arguments.
specifies a numeric variable.
data _null_; array x(10) (0, ., .a, 1e-12, -1e-8, .z, -37, 123456789, 1e20, 42); call sortn(of x(*)); put +3 x(*); run;
. A Z -37 -1E-8 0 1E-12 42 123456789 1E20