code: public static <T extends Comparable<T>> boolean areNotInAscendingOrder(T... values) {
      boolean excluding = false;
      if (values != null) {
        excluding = areNotInAscendingOrder(Arrays.asList(values));
      }
      return excluding;
    }
docs: Checks if any of the values are not in an ascending order. The check is done based on the {@link Comparable#compareTo(Object)} method.
  
  E.g. if we have {@code minPriority = 10}, {@code priority = 13} and {@code maxPriority = 5} and
  {@code Integer[] values = {minPriority, priority, maxPriority}}. Then a call to {@link CompareUtil#areNotInAscendingOrder(Comparable[] values)}
  will return {@code true}
  
  @param values to validate
  @param <T> the type of the comparable
  @return {@code false} if the not null values are in an ascending order or all the values are null, {@code true} otherwise