This document provides a BNF description for Hub sort grammar.
<SORT> ::= <OrderBy>+ EOF; <OrderBy> ::= <Field> ( ":" ( "asc" | "desc" ) )?
Grammar is case-insensitive.
<Field>— field name (id, name, etc.).
|name||Sort by field name in a default order.|
|name:asc||Sort by field name in the ascending order.|
|group, name:desc||Sort by "group" first, then entries with the same group sort by name in the descending order.|
Last modified: 7 December 2017