Sort variables by name in data file
1 2 3 4 5 6 7 8 9 10 | GET FILE='C:\\Program Files\\SPSS\\1991 U.S. General Social Survey.sav'. SELECT IF $CASENUM = 1. FLIP. SORT CASES BY CASE_LBL. FLIP. ADD FILES FILE * / IN=REORD / FILE='C:\\Program Files\\SPSS\\1991 U.S. General Social Survey.sav'. SELECT IF NOT REORD. MATCH FILES FILE * / DROP REORD CASE_LBL . EXE. |
Related pages
...