Add sorting to the API
Closed this issue · 0 comments
mfrancis95 commented
Use the sort
query parameter to sort by a particular field. If no sort
is specified, the default sort is on sort_name
, as it is now. If a non-sort_name
field is being used to sort by, sort_name
is used second in the ordering.
Also add the optional order
field, where the value is either asc
or desc
. The former is the default ordering.