> 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/sortorder.md).

# SortOrder

## Overview

SortOrder is an Enum that specifies the criteria for sorting child elements of a container.

It is used as the SortOrder property in GuiBase and its subclasses, determining the order in which child elements are sorted and displayed.

## Items

| Name        | Value | Description                                                        |
| ----------- | ----- | ------------------------------------------------------------------ |
| Name        | 0     | Sorts child elements alphabetically by name.                       |
| LayoutOrder | 2     | Sorts child elements in order by their LayoutOrder property value. |

## See also

{% content-ref url="/pages/5hGnkIB64BrphdiMzufZ" %}
[UIGridStyleLayout](/development/api-reference/classes/uigridstylelayout.md)
{% endcontent-ref %}
