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" |
Alpha Cell | Ascending |
Paragraph | Ascending |
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")