### Custom Sort dialog

The dialog appears when you click the Sort Fields By button in the Display tab of the Insert Table dialog or Table Wizard, or in the Display tab for table in the Web Report Wizard, or select Custom Sort from the Sort column in the Group tab of the Insert Table dialog or Table Wizard, or in the Group tab for table in the Web Report Wizard. It helps you to set the sorting manner of data displayed in the table or the sorting manner of groups at the specified group level. See the dialog.

Resources

Lists all the available data resources.

Edits the selected dynamic resource. Available only when this dialog is opened from the web report wizard.

Removes the selected dynamic resource. Available only when this dialog is opened from the web report wizard.

Sorts the view elements in the specified order from the drop-down list. Once a user changes the order, it will be applied to all the resource trees where business view elements are listed for this user.

- Predefined Order
  Sorts the view elements in the order defined in the Business View Editor on JReport Designer.
- Resource Types
  Sorts the view elements by resource type, namely category objects come first, then group objects, then aggregation objects, and at last detail objects.
- Alphabetical Order
  Sorts the view elements in alphabetical order. Elements that are not in any category will be sorted first, then the categories, and the elements in each category will also be sorted alphabetically.

Launches the quick search toolbar to search for view elements.

- Text box
  The quick search toolbar treats view elements as strings and searches by consecutive text. Type in the text you want to search for in the text box and the matched text will be highlighted among the view elements.
- X
  Closes the quick search toolbar.
- Lists more search options.
  - Highlight All
    Specifies whether to highlight all matched text.
  - Match Case
    Specifies whether to search for text that meets the case of the typed text.
  - Match Whole Word
    Specifies whether to search for text that looks the same as the typed text.
- Highlights the previous matched text.
- Highlights the next matched text.

Sort By

Displays the fields on which the sorting will be based.

Sort

Specifies the sorting manner.

- Ascend
  If selected, data or groups in the table will be sorted based on values of the specified sort by field in ascending order.
- Descend
  If selected, data or groups in the table will be sorted based on values of the specified sort by field in descending order.

Adds the selected field as the sort by field.

Removes the specified sort by field if it is not required.

Moves the selected sort by field one step up.

Moves the selected sort by field one step down.

OK

Applies the settings and closes this dialog.

Cancel

Cancels the settings and closes this dialog.

Displays the help document about this feature.

Ignores the setting and closes this dialog.

###### Related topics:

- Sorting data in a table