java stream sorted reverse

Java
list.stream().sorted(Comparator.reverseOrder()) 
Source

Also in Java: