Is there a way to write custom comparator, following this example:
There are at most 10 items coming in at a random order i.e.
first item: item_one
Use Guava's com.google.common.collect.Ordering:
Ordering.explicit(second_one, third_one, first_one);