docs: public static <A extends Comparable<A>, B extends Comparable<B>> Comparator<CmsPair<A, B>> getLexicalComparator() {
  
          return new Comparator<CmsPair<A, B>>() {
  
              /**
               * @see java.util.Comparator#compare(Object,Object)
               */
              public int compare(CmsPair<A, B> pair1, CmsPair<A, B> pair2) {
  
                  int c = pair1.getFirst().compareTo(pair2.getFirst());
                  if (c != 0) {
                      return c;
                  }
                  return pair1.getSecond().compareTo(pair2.getSecond());
              }
          };
      }