public static @NotNull Comparator<NodeDescriptor<?>> getComparator(final Project project) {
    if (HierarchyBrowserManager.getInstance(project).getState().SORT_ALPHABETICALLY) {
      return AlphaComparator.getInstance();
    }
    else {
      return NODE_DESCRIPTOR_COMPARATOR;
    }
  }
public static @NotNull Comparator<NodeDescriptor<?>> getComparator(final Project project)