list stream and collect by desending code example Example: java stream sorted reverse list.stream().sorted(Comparator.reverseOrder())