To sort rows in a table, select the entire table (or specific rows) and use the
Sort action from the main toolbar
or the contextual menu. This opens the Sort dialog box.
Figure: The "Sort" Dialog Box
This dialog box sets the range that is sorted and the sorting criteria. The range is
automatically selected depending on whether you sort an entire table or only a selection of
its rows.
Note: When you invoke the sorting operation over an entire table, the Selected
rows option is disabled.
The
Criteria section specifies the sorting criteria (a maximum
of three sorting criteria are available), defined by the following:
- A name, which is collected from the column heading.
- The type of the information that is sorted (either text, numeric, or date).
- The sorting direction (either ascending or descending).
The sort criteria is automatically set to the column where the caret is located at
the time when the sorting operation is invoked.
Note: The sorting mechanism of
Oxygen XML Editor recognizes multiple date
formats, such as
short,
medium,
long,
full,
xs:date, and
xs:dateTime.
After you finish configuring the options in the
Sort dialog
box, click
OK to complete the sorting operation. If you want to revert
to the initial order of your content, press
Ctrl Z (Command Z on OS
X) on your keyboard.
Note: The sorting support takes the value of the
xml:lang
attribute into account and sorts the content in a natural order.