Sorting

Sometimes sorting “by hand” becomes a very nasty process, especially when there are too many sibling nodes; there comes┬áthe _sort_ attribute at rescue. We can supply one (or more) sort tags in order to sort sibling nodes. Nodes with missing sort tags will be displayed first.

One can also use the _tros_ (opposite of _sort_) attribute in order to provide “hidden” sort keys. Hidden keys are used in sorting, but they will not be displayed.

Advertisements