Working with sort keys
You can add a sort key (or rule) to define how you want information sorted. You define the sort keys, and use them to specify which part of the record to sort and the order of the sort. The sort keys are applied in numerical order.
You can also edit a sort key definition, and delete a sort key.
To add a sort key |
1.
|
|
Click Tools Sort.
|
2.
|
|
Choose a sort definition from the Sort by list box.
|
3.
|
|
Click Edit.
|
4.
|
|
In the Keys (sorting rules) area, click a key.
|
5.
|
|
In the Keys (sorting rules) area, click one of the following:
|
•
|
Add Key at end — adds a key to the end of the key list
|
•
|
Insert Key between — adds a key above the row in which the cursor is positioned
|
•
|
|
You can add up to nine sort keys.
|
To edit a sort key definition |
1.
|
|
Click Tools Sort.
|
2.
|
|
From the Sort by box, choose a sort definition.
|
3.
|
|
Click Edit.
|
4.
|
|
In the Keys (sorting rules) area, click a key.
|
5.
|
|
Modify any settings.
|
6.
|
|
In the Keys (sorting rules) area, choose one of the following from the Type list box:
|
•
|
Alpha — sorts in alphanumeric order by letters and then by numbers
|
•
|
Numeric — sorts by numbers only
|
7.
|
|
In the Keys (sorting rules) area, choose one of the following from the Sort order list box:
|
•
|
Ascending — sorts from smallest to largest order or first to last (1 to 9)
|
•
|
Descending — sorts from largest to smallest order or last to first (9 to 1)
|
8.
|
|
In the Keys (sorting rules) area, tab to the record subdivision boxes and type a value in one of the following boxes that corresponds to the part of the record you want to sort:
|
•
|
Line
|
•
|
Field
|
•
|
Word
|
To delete a sort key |
1.
|
|
Click Tools Sort.
|
2.
|
|
From the Sort by box, choose a sort definition.
|
3.
|
|
Click Edit.
|
4.
|
|
Click a key.
|
5.
|
|
Click Delete key.
|