SPSS Sort Cases
The SORT CASES command sorts cases.
Contents
Usage
sort cases by foo bar(a) baz(d).
If a variable is followed by a parenthesized A ((A)) or up ((UP)), cases are sorted in ascending order. If a variable is followed by a parenthesized D ((D)) or down ((DOWN)), cases are sorted in descending order. Without a specification, ascending order is used by default.
Data Model
The SORT CASES command is executed immediately, and the active dataset is read.
The SORT CASES command does not recognize the TEMPORARY status.