Rebol Programming/sort
USAGE:
editSORT series /case /skip size /compare comparator /part length /all /reverse
DESCRIPTION:
editSorts a series.
SORT is an action value.
ARGUMENTS
edit- series -- (Type: series port)
REFINEMENTS
edit- /case -- Case sensitive sort.
- /skip -- Treat the series as records of fixed size.
- size -- Size of each record. (Type: integer)
- /compare -- Comparator offset, block or function.
- comparator -- (Type: integer block function)
- /part -- Sort only part of a series.
- length -- Length of series to sort. (Type: integer)
- /all -- Compare all fields
- /reverse -- Reverse sort order
SOURCE CODE
editsort: native[ "Sorts a series." series [series! port!] /case "Case sensitive sort." /skip "Treat the series as records of fixed size." size [integer!] "Size of each record." /compare "Comparator offset, block or function." comparator [integer! block! function!] /part "Sort only part of a series." length [integer!] "Length of series to sort." /all "Compare all fields" /reverse "Reverse sort order" ]