# sortingOrder

> The order in which this UIDocument will show up on the hierarchy in relation to other UIDocuments either attached to the same PanelSettings, or with the same UIDocument parent.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public float sortingOrder { get; set; }
```

### Remarks

A UIDocument with a higher sorting order is displayed above one with a lower sorting order. In the case of identical sorting order, an older UIDocument is drawn first, appearing behind new ones.

Additional Resources: [PanelSettings.sortingOrder](/engine/6000.6/script-reference/unityengine/uielements/panelsettings/sortingorder.md)
