TreeMap<String, Integer> map = new TreeMap<>();
    map.put("apple", 5);
    map.put("orange", 8);
    map.put("pear", 3);
    map.put("watermelon", 10);
    map.put("melon", 1337);
How can I sort all the values in descending order and print them?
 
    