For '''sorting''' the objects returned by a resource URI, the query parameter <code>sort</code> is added with the object's sort attribute(s) as the value. The following example will sort users by last name lastname and first name firstname in lexicographic ascending order:
GET /v1/users?sort=lastname,firstname
The following will sort users by lastname in lexicographic descending and first name firstname in lexicographic ascending order:
GET /v1/users?sort=-lastname,firstname