Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Sorts are based on the natural order of the specified keychain.

This is a general sorting macro

...

that 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.

Note

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}.

Note

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

Migratable to Cloud?

Default Value

Description

[default] /key

  • Status
    title(/)

...

  • Status
    titleNO

The keychain to filter on.

order

  • Status
    title(

...

  • X)

  • Status
    titleNO

ascending

The order to sort in. May be ascending or descending.

Editor View

  • Not applicable.

Macro Edit View

  • Not applicable.

Notes

  • Not applicable.

...