Sorting
Sorting is available from version 3.3 of the Dataloy API
Within  API 3.3 release is possible sort the result of any search. The following type of sorting are supported:
- ASCENDING (ascending order, Â case - or database sensitive)
- ASCENDINGÂ INSENSITIVE (ascending order, case-insensitive)
- DESCENDING (descending order, case - or database - sensitive)
- DESCENDING INSENSITIVE (descending order, case-insensitive)
ASCENDING
http://localhost:8080/ws/rest/Vessel?sort=vesselName(AS)
ASCENDINGÂ INSENSITIVE
http://localhost:8080/ws/rest/Vessel?sort=vesselName(ASI)
DESCENDINGÂ
http://localhost:8080/ws/rest/Vessel?sort=vesselName(DS)
DESCENDING INSENSITIVE
http://localhost:8080/ws/rest/Vessel?sort=vesselName(DSI)
Â
It is possible use sorting in combination with any filter and pagination:
Â
Â
Â
Â