code: public static <ElementType> Ordering<Multiset.Entry<ElementType>> byElementOrdering(
        Comparator<? super ElementType> comparator) {
      return Ordering.from(comparator).onResultOf(MultisetUtils.<ElementType>elementOnly());
    }
docs: Returns the partial {@link Ordering} over {@link Multiset.Entry}s resulting from applying
  the supplied {@code comparator} to the multiset elements.