title: Arraylist comparison with string based conditions
body: <p>Arraylist contains class model. Class has a parameter 'status' whose values would be 'open' , 'close' , ' upcoming '. </p>
  
  <p>How to sort the arraylist based on ' status ' parameter i.e. 'open' should appear first, 'close' &amp; 'upcoming' will be following to it respectively ?</p>
  
  <p>Any help appreciated.. </p>