Lista de classificação Java
List<String> entries = new ArrayList<>();
entries = entries.stream().sorted().collect(Collectors.toList());
Adorable Addax
List<String> entries = new ArrayList<>();
entries = entries.stream().sorted().collect(Collectors.toList());
List<String> sorted = original.stream().sorted().collect(Collectors.toList());
List result = list.stream().sorted((o1, o2)->o1.getItem().getValue().
compareTo(o2.getItem().getValue())).
collect(Collectors.toList());