SORTASC

Specifies an ascending sort order.

Syntax

<SORTASC

Notes

This command determines the order in which members are sorted in member commands in the report specification. You use this command prior to the other sort commands including SORTALTNAMES, SORTGEN, SORTLEVEL and SORTMBRNAMES. With the SORTASC command, all following members selected are sorted into ascending order starting with either the letter "a" or the lowest generation and moving toward the letter "z" or the highest generation. Sorting in ascending order is the default sort order and is only changed with the SORTDESC command.

This command must precede the selection commands, or example, CHILDREN or DESCENDANTS. If no sorting commands are used, members are output in hierarchical order based on the member outline. Any sort command remains in effect until reset by another sort command.

The SORTASC command can be used to restore the default (ascending) sort order. It reverses the effects of a previously-specified SORTDESC command.