Text Sort
Description
This will sort the results by the specified text key value.
By default, empty values will be listed first, then the rest using ascending order.
Previews will not show sorted data
For performance reasons, sorting macros are not executed in Preview mode. This means the macro content could be different when the page is published.
Parameters
Name | Required | Available In | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|---|
[default] /key | Yes | Server, Data Center | No | The key chain value to sort by. | |
order | Optional | Server, Data Center | No | ascending | May be ascending or descending. |
mode | Optional | Server, Data Center | No | natural | The mode of text sort to use. May be one of:
|
locale | Optional | Server, Data Center | No | @user | (Since 2.0.0) The locale to use when sorting text in either "natural" or "locale" mode. May be one of the following:
|
Editor View
Tutorial Examples