List<String> list = map.entrySet() .stream() .map(entry -> entry.getKey() + "-" + entry.getValue()) .sorted() .collect(Collectors.toList());

List<String> list = map.entrySet() .stream() .map(entry -> entry.getKey() + "-" + entry.getValue()) .sorted() .collect(Collectors.toList());