Example: Sort the SASHELP.CLASS Data Set by Sex and Age
To create this example:
-
In the
Tasks section,
expand the
Data folder, and then double-click
Sort
Data. The user interface for the Sort Data task opens.
-
On the
Data tab,
select the
SASHELP.CLASS data set.
Tip
If the data set is
not available from the drop-down list, click
. In the
Choose a Table window,
expand the library that contains the data set that you want to use.
Select the data set for the example and click
OK.
The selected data set should now appear in the drop-down list.
-
To the
Sort
by role, assign the
Sex and
Age columns.
-
To run the task, click
.
Copyright © SAS Institute Inc. All rights reserved.