You are here: Features > Action Events > Sort paragraphs

Sort Paragraphs Action

Event Function: SortParagraphs

The Sort Paragraphs action sorts paragraphs 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

Label for the sort.

"Expenses"

Order

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

"Descending"

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

Syntax (if entering it in the Equation bar)

ACTION("SortParagraphs", expr1, expr2)

Where

expr1 = entry under Group

expr2 = entry under Order

How the example will appear in the Equation bar

ACTION("SortParagraphs", "Expenses","Descending")

Related Topics