Map<String, Integer> unSortedMap = getUnSortedMapFromSource(); Map<String, Integer> reverseSortedMap = new TreeMap<String, Integer>(Collections.reverseOrder()); reverseSortedMap.putAll(unSortedMap);