reverse treemap code example Example: treemap in reverse order Map<String, String> treemap = new TreeMap<>(Collections.reverseOrder());