Sorting tables

You can sort the rows of a table based on the contents of a single column. You can also perform a more complicated table sort based on the contents of two columns.

You cannot sort tables that contain colspan or rowspan attributes--that is, tables that contain merged cells. For more information, see Splitting and merging cells.

To sort a table:

  1. Select the table (see Selecting a table) or click in any cell.
  2. Select Commands > Sort Table.

    The Sort Table dialog box appears.

  3. Complete the dialog box.

    For more information, see Setting the Sort Table dialog box options.

  4. Click OK.