private Comparator<Class<? extends Annotation>> createComparator(ExtensionHandlerCustomizationOrder order) {
        List<Class<? extends Annotation>> ordering = Arrays.asList(order.value());

        return Comparator.comparingInt(type -> {
            int index = ordering.indexOf(type);
            return index == -1 ? ordering.size() : index;
        });
    }
Applies decorations to method handlers, according to any {@link UseExtensionHandlerCustomizer} decorating annotations
present on the method. If multiple decorating annotations are present, the order of application can be controlled
using the {@link ExtensionHandlerCustomizationOrder} annotation.
core/src/main/java/org/jdbi/v3/core/extension/UseAnnotationExtensionHandlerCustomizer.java