Sort Parameter

The client can indicate which order to return the results by using the parameter _sort, which can contain a comma-separated list of sort rules in priority order.

GET [base]/Patient?_sort=name,-id, active, address

Each item in the comma-separated list is a search parameter, optionally with a '-' prefix. The prefix indicates decreasing order. In its absence, the parameter is applied in increasing order.