title: How to sort a list of objects with some specific property
body: <p>I have a record object </p>
  
  <pre><code> public Record{
     double simiADD;
   }
  </code></pre>
  
  <p>I Have a List of Record objects and I want to Sort on simiADD. Record with less value of simiADD should occur first and record with more value of simiADD should occur later in the sorted list. I wanted to do this operation in a seprate method and not implementing the comparator in Record class.</p>