Sorting

March 15, 2018 ยท View on GitHub

One can sort the output of find commands, using order.

GET /rest/users/?order=name

order defaults to id.

To sort in the opposite order, append - to the attribute.

GET /rest/users/?order=name-

To sort according to several attributes, separate them with a comma.

GET /rest/users/?order=first_name,last_name