# 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 in order by their Name.                       |
| LayoutOrder | 2     | Sorts child elements in order by their LayoutOrder property value. |

## See also

{% content-ref url="../classes/uigridstylelayout" %}
[uigridstylelayout](https://docs.overdare.com/development/api-reference/classes/uigridstylelayout)
{% endcontent-ref %}
