SORT CASES
Sorts the cases of the active dataset.
Syntax
Section titled “Syntax”SORT CASES [BY] var [(A|D)] [var [(A|D)] …].Synopsis
Section titled “Synopsis”| Kind | Data management |
| Body | free-form body |
| Changes data | yes, undoable |
Examples
Section titled “Examples”SORT CASES BY region (A) income (D).- The sort is stable. System-missing values sort first; strings sort by code point.
- Very large datasets (over 2 million cases) are sorted out of core with DuckDB.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.