The sequence for sorting character data in numeric order is:
The sequence for sorting numbers is ascending order. The sequence for sorting DATE, TIME, and TIMESTAMP values is chronological. The sequence for sorting DBCS data is determined by the internal value of the data and generally is not meaningful.
Examples:
SELECT ID, NAME, SALARY FROM Q.STAFF ORDER BY SALARY DESC
SELECT ID, NAME, SALARY FROM Q.STAFF ORDER BY NAME