title: Reverse a comparator in Java 8
body: <p>I have an ArrayList and want sort it in descending order. I use for it <code>java.util.stream.Stream.sorted(Comparator)</code> method. Here is a description according Java API:</p>
  
  <blockquote>
    <p>Returns a stream consisting of the elements of this stream, sorted according to the provided <code>Comparator</code>.</p>
  </blockquote>
  
  <p>this methods return me a sort with ascending order. Which parameter should I change, just to have the descending order? </p>