sorta

Synopsis

@ sorta(@array)

Sorts the specified array alphabetically.

Parameters

@array - the array to sort

Returns

A reference to the sorted @array.

Side Effects / Notes

Examples

@array = @("bats", "Apples", "rats", "Cats"); @sorted = sorta(@array); println(@sorted);

@('Apples', 'Cats', 'bats', 'rats')

See Also