private static int getOrder(@NotNull EditorColorsScheme scheme, boolean groupNumberOnly) {
    if (scheme instanceof AbstractColorsScheme) {
      EditorColorsScheme original = ((AbstractColorsScheme)scheme).getOriginal();
      if (!groupNumberOnly && original instanceof DefaultColorsScheme) {
        return getDefaultSchemeName().equals(original.getName()) ? DEFAULT_SCHEME : ONE_OF_DEFAULT_SCHEMES;
      }
      if (original != null && original.isReadOnly()) {
        if (ExperimentalUI.isNewUI()) {
          int i = Arrays.asList("High contrast", "Dark", "Light").indexOf(original.getName());
          if (i >= 0) {
            return groupNumberOnly ? BUNDLED_NEW_UI_SCHEME : -(i + 1);
          }
        }
        return BUNDLED_CLASSIC_SCHEME;
      }
    }
    return CUSTOM_SCHEME;
  }
private static int getOrder(@NotNull EditorColorsScheme scheme, boolean groupNumberOnly)