I am new to Java and generally find that I need to classify a Map<Key, Value> on the values.
Since the values are not unique, I find myself changing the keySet into an array, and classifying that array within array sort with a custom comparator that classifies on the value correlated with the key.
Is there an elementary way?