I would like to have a c.g.c.c.Multimap
that is sorted based on keys only. The values shouldn\'t be sorted. I\'ve tried to build something with guava\'s T
I'd like to point out that the alternative proposed solution, namely "to create a TreeMultimap and use Ordering.arbitrary() as the Comparator for the values", only works if MyObject doesn't override equals() or hashcode(). Ordering.arbitrary() is inconsistent with equals and uses object identity instead, which makes it not a good idea to use it in conjunction with a TreeSet.