Kauri Documentation
 PreviousHomeNext 
9.2.3 QueryingBook Index9.2.5 Paging

9.2.4 Sorting

When lists of entities are returned, you can specify sorting options to influence the order.

The parameters are:

sort.{seqnr}=propertyname
order.{seqnr}=asc|desc

where seqnr is 1, 2, ...

Specifying the order is optional, default is ascending.

Example:

?sort.1=prop1&order.1=desc&sort.2=prop2
 PreviousHomeNext 
9.2.3 Querying9.2.5 Paging