Ordering

To sort the results use:

<url>?{{ ordering_param }}=<field name>[,<field name>]*

The default sorting order is ascending. To specify descending order, add a minus sign (-) before the field name.

Ordering is supported on these fields:

{% if default_ordering %}

When ordering is not specified, the default ordering is {{ default_ordering }}

{% endif %}