public static <K, V> MutableList<V> toSortedList(
            Map<K, V> map,
            Comparator<? super V> comparator)
    {
        return Iterate.toSortedList(map.values(), comparator);
    }
public static < K , V > MutableList < V > toSortedList ( Map < K , V > map , Comparator < ? super V > comparator ) { return Iterate . toSortedList ( map . values ( ) , comparator ) ; }
Iterate over the specified map applying the specified Function to each value
and return the results as a sorted List using the specified Comparator.