Version: 2017.3

EditorApplication.DirtyHierarchyWindowSorting

Switch to Manual
public static void DirtyHierarchyWindowSorting ();

Description

Set the hierarchy sorting method as dirty.

Causes the hierarchy to reset the avaliable sorting methods.