Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortalSearchRequest.SetOrderAscending Method

Sets the results to be returned in ascending or descending order.

void SetOrderAscending(
bool ascending
);

#### Parameters

ascending
  set to `false` to return results in descending order

#### Remarks

Default is ascending order (`true`). Note that is resultsOrderBy is a date field, and asending is set to true, the results will be returned earlist first.

#### See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace