Natural Sort

Description

Sorts based on the natural order of the specified keychain.

This is a general sorting macro which can replace some of the other sorting macros (Date SortNumber Sort) if desired. It will also work on any object type which implements the standard Comparator interface.

Those wishing to use the natural sorting order as defined by the Text Sort macro will still need to use Text Sort, as it is a different type of "natural" sorting. Using this macro is the same as using {text-sort:xxx|mode=exact}.


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
[default] /key
 Yes
Server, Data Center
No
The keychain to filter on.
order
 Optional
Server, Data Center
No
ascending
The order to sort in. May be ascending or descending.


Editor View

Tutorial Examples

There is no content with the specified labels