This is the documentation for ConfiForms Server/Data Center app
However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.
Supports ASC and DESC directions, syntax is similar to SQL syntax, and the ordering rules must be coma separated.
Order directions ASC and DESC are case-sensitive!
To limit the number of records returned a LIMIT operator is used.
You can also use a predefined macro parameter for limiting records count returned
ConfiForms (from version 1.16+) supports complex fields in sorting, like to sort ascending by dropdown's label (assuming a field is called "myDropdown")
myDropdown.label ASC
You can sort by field values transformed with Virtual functions, as well as by more complex expressions and sub properties.
More about fields and properties can be found here: Accessing field values and properties
It is important to understand that the data stored in ConfiForms is associated with the field type (ConfiForms Field Definition).
And the sorting behaviour is applied according to the ConfiForms Field Definition type. With one exception: for Masked fields - where the user can specify in-out formats and force the field value to be treated as given type