code: private String getComparisonClassName(Class<?> clazz) {
          if (isNumber(clazz)) {
              return Number.class.getSimpleName();
          } else if (isMap(clazz)) {
              return Map.class.getSimpleName();
          } else if (isList(clazz)) {
              return List.class.getSimpleName();
          }
          return clazz.getSimpleName();
      }
docs: When comparing literals with different types sort them by their simple class names.  Normalize numbers,
  maps, and lists so that all values of each type are sorted together regardless of actual implementation
  (Integer vs Float, HashMap vs TreeMap, and so on).