sort entry

You use the sort entry to specify the order in which object-based query results are listed. The entry contains a comma-separated list of properties and a sort-order indicator, in this format:

object-property[+(asc|desc)][,.object-property[+(asc|desc)]]...

asc means sort in ascending order. desc means sort in descending order. The default is asc.

For information on the object properties on which you can sort query results, see Object properties.

Sort order

Objects are sorted by properties in the order in which the properties are listed in the sort entry. For example, to sort query results in ascending order based on namespace name and descending order based on size within each namespace, specify this entry:

<sort>namespace+asc,size+desc</sort>

If you omit the sort entry, the query results are listed in order of relevance to the query criteria.

Sorting on content properties

You can sort only on single-valued content properties. You cannot sort on properties that can have multiple values.

Trademark and LegalDisclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.