Spraypaint the isomorphic, framework-agnostic Graphiti ORM
Sorting
Use #order()
to sort.
If passed a string, it will default to ascending:
/posts?sort=title
Otherwise, pass an object:
/posts?sort=-title
For multisort, simply chain multiple #order()
clauses:
/posts?sort=-title,ranking