# DirtyHierarchyWindowSorting()

> Set the hierarchy sorting method as dirty.

## Definition

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

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

### Remarks

Causes the hierarchy to reset the avaliable sorting methods.
