docs: protected List<ConfigSource> sortDescending(List<ConfigSource> configSources) {
          Collections.sort(configSources, new Comparator<ConfigSource>() {
              @Override
              public int compare(ConfigSource configSource1, ConfigSource configSource2) {
                  // ConfigSource.getOrdinal is a default method in original API. When using
                  int ordinal1 = getOrdinal(configSource1);
                  int ordinal2 = getOrdinal(configSource2);
                  if (ordinal1 == ordinal2) {
                      return configSource1.getName().compareTo(configSource2.getName());
                  }
                  return (ordinal1 > ordinal2) ? -1 : 1;
              }
  
              private int getOrdinal(ConfigSource configSource) {
                  int result = 100;
                  try {
                      result = configSource.getOrdinal();
                  } catch (AbstractMethodError e) {
                      //
                  }
                  return result;
              }
          });
          return configSources;
  
      }