public static List> sortMap(Map map) {
final List> sort = new ArrayList<>(map.entrySet());
sort.sort(Map.Entry.comparingByKey());
return sort;
}

public static List> sortMap(Map map) {
final List> sort = new ArrayList<>(map.entrySet());
sort.sort(Map.Entry.comparingByKey());
return sort;
}