eBay Shopping Web Service

Element: ns:SortOrder [type FindItemsRequestType]

Description

Sorts search results in ascending or descending order, in conjunction with the value you specify in ItemSort.

Derived By

Type ns:SortOrderCodeType

Enumeration

Value  Description 
Ascending  Sorts results in ascending (low to high) order.
Descending  Sorts results in descending (high to low) order.
CustomCode  Placeholder value. See token.

Referenced By

Remarks

The default is descending order. For example, in the case of the (default) ItemSort value of BestMatch, the most relevant items are returned first, because the default SortOrder value is Descending. If you specify an ItemSort value of EndTime (to sort items by end time), and a SortOrder value of Ascending, then items ending in less time (from the time of the call) are returned before items ending in more time.