SortArray (open)
Sorts an array of comparable values
Syntax
// Core function, no LOADLIB necessary
VARIANT FUNCTION SortArray(VARIANT input)
Parameters
VARIANT input
Input array
Return value
VARIANT
The sorted array // Given a simple INTEGER ARRAY like so: INTEGER ARRAY test := [ 5, 3, 9, 11, 0, 4 ]; test := SortArray(test); // The result would be: INTEGER ARRAY [ 0, 3, 4, 5, 9, 11 ];