sortdown
sortdown

The sortdown statement sorts the database by the current field. The database is sorted in descending order (high to low).

Parameters

No parameters.

Description

The sortdown statement sorts the database by the current field. The database is sorted in descending order (high to low).

This example sorts a database from highest prices to low. To sort in low to high order use sortup. To sort on additional fields use sortdownwithin or sortupwithin. To sort and divide the database into groups with summary records use groupdown.

    field Price
    sortdown

See Also

- groupdown -- divides the database into groups, with a summary record at the end of each group. The groups are arranged in descending order (high to low).
- groupup -- divides the database into groups, with a summary record at the end of each group. The groups are arranged in ascending order (low to high).
- importdatabasedialog -- opens the standard Import Database dialog.
- reverseorder -- reverses the order of the records in the database.
- sortdialog -- opens the standard *Sort* dialog.
- sortdownwithin -- sorts the database by the current field, leaving any previous sorts intact. The database is sorted in descending order (high to low).
- Sorting Data -- sorting data into a specific order.
- sortup -- sorts the database by the current field. The database is sorted in ascending order (low to high).
- sortupwithin -- sorts the database by the current field, leaving any previous sorts intact. The database is sorted in ascending order (low to high).

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.