title: Java8 lambda: sort a stream in reverse order?
body: <p>I have this list that I want to order in reserve order, but I didn't find any <code>.reversed()</code> function in autocomplete assist</p>
  
  <pre><code> myMenus(user)
                  .stream()
                  .filter(mps -&gt;  mps.get1PercentageChange() &gt; 0 &amp;&amp;
                                  mps.get2PercentageChange() &gt; 0 &amp;&amp;
                                  mps.get3PercentageChange() &gt; 0 &amp;
                                  mps.get4PercentageChange() &gt; 0)
                  .sorted(comparing(mps -&gt; mps.getDailyPercentageChange()))
                  .collect(toList());
  </code></pre>
  
  <p>I have also tried:</p>
  
  <pre><code>myMenus(user)
          .stream()
          .filter(mps -&gt;  mps.get1PercentageChange() &gt; 0 &amp;&amp;
                          mps.get2PercentageChange() &gt; 0 &amp;&amp;
                          mps.get3PercentageChange() &gt; 0 &amp;
                          mps.get4PercentageChange() &gt; 0)
          .sorted(comparing(mps -&gt; mps.getDailyPercentageChange()).reversed())
          .collect(toList());
  </code></pre>
  
  <p>but then I have the compilation error:</p>
  
  <pre><code>Cannot infer type argument(s) for &lt;T, U&gt; comparing(Function&lt;? super T,? 
       extends U&gt;)
  </code></pre>