SPSS Sort Cases

The SORT CASES command sorts cases.


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.


See also

PSPP manual for SORT CASES


CategoryRicottone

SPSS/SortCases (last edited 2023-06-12 01:00:22 by DominicRicottone)