AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortalSearchRequest.SetOrderAscending Method

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

void SetOrderAscending(
bool ascending
);

#### Parameters

ascending
  `False` to return results in descending order.

#### Remarks

The default is ascending order (`true`). Note: If `resultsOrderBy` is a date field, and ascending is set to true, the results will be returned earlist first.

#### See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace