> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/sortdirection.md).

# SortDirection

## Overview

SortDirection is an Enum that represents a sort direction.

It is used to specify the sort direction in which items are retrieved in the GetRangeAsync method of MemoryStoreSortedMap.

## Items

| Name       | Value | Description                                                          |
| ---------- | ----- | -------------------------------------------------------------------- |
| Ascending  | 0     | Sorts in ascending order, starting from the front of the sort order. |
| Descending | 1     | Sorts in descending order, starting from the back of the sort order. |
