Sorting Parameter

The sort query parameter allows you to sort the requested collection.

  • By default, sorting is in ascending order based on the attribute specified. To sort in descending order, prepend the attribute with a hyphen (-).
  • Check the details for a specific resource to see the default sorting attribute and order, and if an attribute is sortable. # ASC # DESC