Home
Advocacy API

Sorting

Sort collections by one or more fields.

Some collections can be sorted using the sort query parameter. We support multiple sort fields by allowing comma-separated sort fields. The sort order for each sort field will be ascending unless it is prefixed with a minus (-), in which case it will be descending.

For example:

GET /v2/teams/1/experiences?sort=status,-id HTTP/1.1
Accept: application/vnd.api+json