The ordering is done in the same sequence as they are specified in the query,
and for each property a direction value can be specified.
For each property passed, if the resource does not have such property or if the
direction value is different from "asc" or "desc" (case insensitive), the property
is ignored.