sort in descending lambda expression java code example Example: java stream sorted reverse list.stream().sorted(Comparator.reverseOrder())