Sorting a table copies its contents to a separate table and arranges rows in the order you specify in the new table.

Tip

In general, use sorting only when you want to export data to another application or table type. Sorting is useful whenever you want to create a separate table for reporting or other purposes. Use indexing instead when you want to make data entry, querying, and reporting tasks faster and more efficient.

When you sort, the source table is the table containing the rows you want to copy, and the target table is the new table (and new table type, if you want) to contain the copied rows. Sorting does not change the data in the source file.

When you sort a table, all fields in the source table appear in the target table. You select the fields on which to sort rows.

dBASE Plus sorts data in case-sensitive alphabetic order, using the sort order specified by the language driver in the BDE Administrator. Sorting starts with the first character in the key and proceeds from left to right. Punctuation comes before numbers, numbers before letters, and uppercase letters before lowercase letters.

Note

Make sure you have enough available disk space to store the table on the target drive.

To created a sorted table or export table data to another table type,

  1. Open the table you want to sort in Run mode.