title: Descending Sorting of an ArrayList of Object
body: <p>I need to sort this ArrayObject :</p>
  
  <pre><code>public ArrayList&lt;WPPost&gt; posts;
  </code></pre>
  
  <p>on descending : </p>
  
  <pre><code>posts.get(i).getRating()
  </code></pre>
  
  <p>I have tried with HashMaps, LinkedHashMaps, I haven't found anything. What's the best solution ?</p>