Sort Collections

Overview

Sorting is another feature that makes it easier to work with data-heavy resources.

ClosedURL Format for Collection Resource Parameters

You can sort items returned from a collection resource using the orderBy query parameter.

Sorting Sequence

Use asc for ascending order and desc for descending order. The default sequencing order is asc. Items returned in the response payload are sorted in a case-sensitive order.

Related Topics

Related Topics Link IconSee Also