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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s