SortBy

The SortBy element contains an item property used for sorting the search result.

<SortBy Order="">
   <FieldURI/>
   <IndexedFieldURI/>
</SortBy>

FieldOrderType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Order
The text value of the Order attribute is the sort order. A text value of Ascending indicates that the results are in ascending order. A text value of Descending indicates that the results are in descending order.

Child elements

FieldURI | IndexedFieldURI

Parent elements

SearchMailboxes

Remarks

This element was introduced in Exchange Server 2013.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema name
Messages schema
Validation file
Messages.xsd
Can be empty