public static Comparator<NodeDescriptor<?>> getComparator(Project project) {
        final HierarchyBrowserManager.State state = HierarchyBrowserManager.getInstance(project).getState();
        if (state != null && state.SORT_ALPHABETICALLY) {
            return AlphaComparator.INSTANCE;
        }
        else {
            return NODE_DESCRIPTOR_COMPARATOR;
        }
    }
Call Hierarchy feature utilities.

@author Shahar Ariel
@author bratseth
integration/intellij/src/main/java/ai/vespa/intellij/schema/hierarchy/SdHierarchyUtil.java