title: Sorting ArrayList of Objects by Object attribute
body: <p>I am having an Arraylist of Objects. Those object have an attribute or datatype - 'String'. 
  I need to sort the Arraylist by that string. How to achieve this? </p>