Examples (SORT CASES command)
SORT CASES BY DIVISION (A) STORE (D).
- Cases are sorted in ascending order of variable DIVISION. Cases are further sorted in descending
order of STORE within categories
of DIVISION.
Amust be specified so thatDapplies to STORE only.SORT CASES DIVISION STORE (A) AGE (D). - Cases are sorted in ascending order of DIVISION. Keyword
BYis not used in this example. - Cases are further sorted in ascending order of STORE within values of DIVISION. Specification
Aapplies to both DIVISION and STORE. - Cases are further sorted in descending order of AGE within values of STORE and DIVISION.