Rebol Programming/sort

= USAGE: = SORT series /case /skip size /compare comparator /part length /all /reverse

= DESCRIPTION: = Sorts a series.

SORT is an action value. = ARGUMENTS =
 * series -- (Type: series port)

= REFINEMENTS =
 * /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 = sort: 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" ]