Sorting the data

You can change the order of the lines in a selection list by specifying the columns to be used in determining the sort order. For each column, you can specify a sort order of:
Ascending (A)
The contents of the column are sorted in ascending order. A down arrow (↓) is shown in the rightmost position of the column heading.
Descending (D)
The contents of the column are sorted in descending order. An up arrow (↑) is shown in the rightmost position of the column heading.
None (N)
The column is not used in determining the order of the lines.
Note: For any selection list, there is a default "held" column for which the sort order is, again by default, ascending (A).

You can specify a column to be used in determining the sort order in any of these ways:

  • Setting the column attributes for a single column:
    1. Scroll (if necessary) so that the column is displayed.
    2. Perform any of these actions:
      1. Position the cursor within the column filter and press Enter to display a Column Settings panel.
      2. Set the Sort value to A, D, or N according to how you want the column sorted.
      3. Press the Exit function key (F3) to return to the selection list.

      or

      1. Position the cursor within the column heading and press Enter. The column sort order is changed to the default. The default sort order for the column can be found in the Column Settings panel.

      or

      1. Tab past the column heading (to the rightmost position of the column heading area) and press Enter.
      2. Each time you tab to this position and press Enter, the sort order rotates through ascending (↓), descending (↑), and none (no arrow displayed).
  • Setting the column attributes for one or more columns:

    Perform either of these actions:

    1. Enter the TAILOR primary command to display a list of columns together with their column attributes.
    2. Set the Sort value to A, D, or N according to how you want the column sorted.
    3. Press the Exit function key (F3) to return to the selection list.

    or

    1. Use the SORT command.
Note: When you change the sort order for a column, the sort order for all other columns is set to none.

Related topics