private static <T> List<T> load(Class<T> clazz) {
    List<T> serviceList = new ArrayList<>();
    ServiceLoader<T> serviceLoader = ServiceLoader.load(clazz);
    for (T service : serviceLoader) {
      serviceList.add(service);
    }
    if (!serviceList.isEmpty()) {
      Collections.sort(serviceList, OrderComparator.INSTANCE);
    }
    return serviceList;
  }
Get extension class list order by {@link Order}
src/main/java/com/eudemon/ratelimiter/extension/ExtensionLoader.java