The Data Table |
This section describes how to sort a data table by one or more variables.
You can select Edit Variables Sort from the main menu to open the Sort dialog box. Alternatively, you can right-click on a variable heading to select that variable and display the same menu, shown in Figure 4.2. The Sort dialog box is shown in Figure 4.4.
The first time the Sort dialog box is created, any variables that are selected are automatically placed in the Sort by list. Subsequently, the Sort dialog box remembers the Sort by list from the last sort.
Figure 4.4: The Sort Dialog Box
The following list describes each item in the Sort dialog box.
To carry out the sort operation, click OK.
If a nominal variable has a nonstandard ordering, as described in the section "Variable Properties", then the sort dialog box indicates that fact by marking the variable name with an asterisk.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.