Use the filter keyword By with OpenList commands to sort lists or reports.
By COLUMN
- OR -
By-DSND COLUMN
By arranges the list or report according to the order of the contents of a column. By does not sort the data in the table. Instead, it generates a list of keys that represent how the data appears if sorted by a certain column. To create a list or report sorted in descending (reverse) order, use the keyword By-DSND.