java stream sort by field desc code example Example: java stream sorted reverse list.stream().sorted(Comparator.reverseOrder())