There are two ways to sort data in SPSS:
Sorting cases allow users to reorder the sequence of the cases based on the value of one or more variables.
WARNING: The original order will be lost once the cases of the dataset are sorted.
In the Data View, right-click the name of the variable and select Sort Ascending or Sort Descending.
Sorting variables allow users to reorder the variables based on the variable attribute (variable name, data type, width, etc.).
In the Variable View, right-click the attribute column heading on which you want to sort the variables and select Sort Ascending or Sort Descending.
McGill Library • Questions? Ask us!
Privacy notice