The primary method of sorting a report is to select a key from the main table for the report. You specify the main table and a key from that table when you create the definition for a report. The data in the report is sorted based on the key you select.
This is the preferred method for sorting the report, because an index already exists for each table key. In effect, the order of the data is already known. Dexterity simply retrieves data from the primary table using the key you specified.
Keep sorting in mind when you create keys for a table that will be the main table for a report. If your table has the appropriate key, the report can be printed much faster.