protected <I extends AdminToolValidationInterceptor<O>> void sortInterceptors(List<I> interceptors) {
		
		if (!CollectionUtils.isEmpty(interceptors)) {
			int amount = interceptors != null ? interceptors.size() : 0;
			LOGGER.debug(amount + " interceptors configured for " + getMessageArea());
			Collections.sort(interceptors, new Comparator<I>() {
				@Override
				public int compare(I o1, I o2) {
					return Integer.compare(o1.getPrecedence(), o2.getPrecedence());
				}
			});
			for (AdminToolValidationInterceptor<O> interceptor : interceptors) {
				LOGGER.debug("    precedence: " + interceptor.getPrecedence() + ", class: " + interceptor.getClass().getSimpleName());
			}
		}
	}
protected < I extends AdminToolValidationInterceptor < O > > void sortInterceptors ( List < I > interceptors ) { if ( ! CollectionUtils . isEmpty ( interceptors ) ) { int amount = interceptors != null ? interceptors . size ( ) : 0 ; LOGGER . debug ( amount + " interceptors configured for " + getMessageArea ( ) ) ; Collections . sort ( interceptors , new Comparator < I > ( ) { @ Override public int compare ( I o1 , I o2 ) { return Integer . compare ( o1 . getPrecedence ( ) , o2 . getPrecedence ( ) ) ; } } ) ; for ( AdminToolValidationInterceptor < O > interceptor : interceptors ) { LOGGER . debug ( "    precedence: " + interceptor . getPrecedence ( ) + ", class: " + interceptor . getClass ( ) . getSimpleName ( ) ) ; } } }
sorts the interceptors against its precedence
@param interceptors