made asc sorting optional and added regression tests

This commit is contained in:
ston1th 2017-11-13 19:29:43 +01:00
commit dc8463a290
4 changed files with 36 additions and 17 deletions

View file

@ -29,6 +29,7 @@ Bool does not support the wildcard operator, only the literal strings `true` and
The sort statement consists of the literal string `sort`, the field name (nesting like above is supported) and the literal strings `asc` or `desc`.
```
sort:<struct field> (short version for asc)
sort:<struct field>:asc
sort:<struct field>:desc
sort:<struct field>.<struct field>:desc