Vous êtes ici: Help Topics > Customization > Calculation > Sort Sections Action

Sort Sections Action

Event Function: SortSection

The Sort Sections action sorts sections in the document.

Using the Events tab

Under Enter Example

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

Group

Name of the group to sort. The group is set up in the section dialog's sort tab.

"Notes"

Order

Method of sorting, which can be one of "Ascending", "Descending", "Normal", or "Manual")

"Manual"

Include Skipped

A yes or no decision to include skipped text in the sort

"Yes"

Note: The Normal sorting method automatically selects ascending or descending order based on the type of objects being compared.
Alpha CellAscending
ParagraphAscending

Syntax (if entering it in the Equation bar)

ACTION("SortSection", expr1, expr2, expr3)

Where

expr1 = entry under Group

expr2 = entry under Order

expr3 = entry under include skipped

How the example will appear in the Equation bar

ACTION("SortSection", "Notes","Manual", "Yes")

Related Topics