Sorting and Ranking Data

Sorting and Ranking commands are found under the Manip menu.

Ranking
produces a new variable for each selected variable. The new variable records the position of each case in sorted order of the variable.
Sort on Y, Carry X's
creates a new relation in which the cases have been reordered by values of the variable chosen as y. All x variables selected are also copied and reordered in the new relation. A new variable holding the original case index of each new row also appears.
Sorting and Ranking Options
appear below Manipulation Options in the Manip menu.