public void sortInterceptors(final List<? extends ServerInterceptor> interceptors) {
        interceptors.sort(beanFactoryAwareOrderComparator(this.applicationContext, ServerInterceptor.class));
    }
Sorts the given list of interceptors. Use this method if you want to sort custom interceptors. The default
implementation will sort them by using a
{@link InterceptorOrder#beanFactoryAwareOrderComparator(ApplicationContext, Class)
beanDefinitionAwareOrderComparator}.

@param interceptors The interceptors to sort.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/interceptor/GlobalServerInterceptorRegistry.java