Код: Выделить всё
List list = Lists.newArrayList();
list.stream().sorted(Comparator.comparing(x -> x.get(0))); //works fine
list.stream().sorted(Comparator.comparing(x -> x.get(0)).reversed()); //cannot work
list.stream().sorted(Collections.reverseOrder(Comparator.comparing(x -> x.get(0)))); //works fine too
Подробнее здесь: https://stackoverflow.com/questions/791 ... erse-order