code: public static Integer getOrder(Class<?> type, Integer defaultOrder) {
  		Order order = AnnotationUtils.findAnnotation(type, Order.class);
  		if (order != null) {
  			return order.value();
  		}
  		Integer priorityOrder = getPriority(type);
  		if (priorityOrder != null) {
  			return priorityOrder;
  		}
  		return defaultOrder;
  	}
docs: Return the order on the specified {@code type}, or the specified
  default value if none can be found.
  <p>Take care of {@link Order @Order} and {@code @javax.annotation.Priority}.
  @param type the type to handle
  @return the priority value, or the specified default order if none can be found