sortd

Synopsis

@ sortd(@array)

Sorts the specified array in numerical order as double values.

Parameters

@array - the array to sort

Returns

A reference to the sorted @array.

Side Effects / Notes

Examples

@array = @(3.4, 9.1, 3.2, 8.5, 7); @sorted = sortd(@array); println(@sorted);

@(3.2, 3.4, 7, 8.5, 9.1)

See Also