how to descending sort a stream code example Example: java stream sorted reverse list.stream().sorted(Comparator.reverseOrder())