Sort - Function Summary
Sorts a series.
series - The series argument. (must be: series port)
/case - Case sensitive sort.
/skip - Treat the series as records of fixed size.
size - Size of each record. (must be: integer)
/compare - Comparator offset, block or function.
comparator - The comparator argument. (must be: integer block function)
/part - Sort only part of a series.
length - Length of series to sort. (must be: integer)
/all - Compare all fields
/reverse - Reverse sort order
If you are sorting records of a fixed size, you will need to use the /SKIP refinement to specify how many elements to ignore.
Normally sorting is not sensitive to character cases, but you can make it sensitive with the /CASE refinement.
A /COMPARE function can be specified to perform the comparison. This allows you to change the ordering of the SORT.
Sorting will modify the series passed as the argument.
The ALL refinement will force the entire record to be passed to the compare function. This is useful if you need to compare one or more fields of a record while also doing a skip operation.
append - Appends a value to the tail of a series and returns the series head.