# DirtyHierarchyWindowSorting()

> Set the hierarchy sorting method as dirty.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static void DirtyHierarchyWindowSorting()
```

### Remarks

Causes the hierarchy to reset the avaliable sorting methods.
