Список строки лексикографически java
List<String> list = new ArrayList<>();
java.util.Collections.sort(list); // sorts lexicographically
PutinsRightNut
List<String> list = new ArrayList<>();
java.util.Collections.sort(list); // sorts lexicographically