title: Stream Sorted, Reversed Absolute Value based on , implementing Comparator or ToIntFunction, Java 8
body: <p>I was sorting with </p>
  
  <pre><code>someList.sorted(Comparator.comparingInt(someClass::getValue).reversed())
  </code></pre>
  
  <p>Now, I need to sorting by Absolute Value like this answer: <a href="https://stackoverflow.com/a/11013211/811293"><code>abs_number = (number &lt; 0) ? -number : number;</code></a>  (Not using <s><code>Math.abs(x)</code> or <code>Math.sqrt(Math.pow(x, 2))</code></s>)</p>
  
  <p><strong>How implement a new <code>java.util.Comparator</code> or <code>java.util.function.ToIntFunction</code> in order by AbsoluteValue in reverse Order?</strong></p>