
## OrderBy {#orderby}

Sets value which indicates if client uses ascending or descending sorting on the Field.

**Returns:** void Aspose::Email::Tools::Search::

```cpp
OrderBy(bool ascending)
```

| Parameter | Description |
| --- | --- |
| ascending | Set true if you want to use ascending sorting, otherwise set false. |

