![]() ![]() Click on the variable in the Sort by box to highlight it, then click the radio button that corresponds to your sort order choice. In the Sort Order area, you can choose an “Ascending” or “Descending” sort order for each variable in the "Sort by" list. You can click and drag the variables to reorder them within the Sort by box. If you are sorting by two or more variables, then the order that the variables appear in the "Sort by" list matters. If you want to sort your data with respect to two or more variables, or if you want to have the sorted data written to a new file, you'll want to use the Sort Cases procedure:ĭouble-click on the variable(s) you want to sort your data by to move them to the Sort by box. In the Data View, you can quickly sort your data with respect to a single variable by right-clicking on the variable name and selecting Sort Ascending or Sort Descending. If the original order of your rows is important, make sure you have a variable of that specifically and uniquely identifies the correct order of the cases first! That way, you can return to the original row order by sorting on the "order identifier" variable. ![]() ![]() Once you sort the cases of a dataset, it is not possible to "un-sort" the data to its original order. The values for the selected variables can be sorted in ascending (smallest to largest, or alphabetical) or descending order (largest to smallest, or reverse alphabetical). Sorting cases will rearrange the rows based on a given variable (or variables).
0 Comments
Leave a Reply. |