◄Key► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Verb: SORT Function: Sorts records into order on a set of specified keys. These records can come from a file or from a table, or be created by an input procedure. Syntax: Which format? ◄File► Table ┌────────────────────────────────────┐ │ ┌──────────┐ ▼ ▼ │ ►►──SORT data-name-2─┬──┬─┬─ASCENDING──┬─┬───┬─data-name-1─────► └ON┘ └─DESCENDING─┘ └KEY┘ ►─┬───────────────────────────────┬─────────────► └─┬────┬─DUPLICATES─┬──┬┬─────┬─┘ └WITH┘ └IN┘└ORDER┘ ►─┬───────────────────────────────────────────┬─►◄ └─┬─────────┬─SEQUENCE─┬──┬─alphabet-name-1─┘ └COLLATING┘ └IS┘ -♦-