title: Convert arraylist elements order in sequence based on day
body: <p>Below is the output from database. These sequence orders can not be the same every time. Here the days are not in sequence order . I need these days in sequence order.</p>
  
  <pre><code>ArrayList dayList= [ MONDAY   : 9:00AM - 5:00PM , TUESDAY  : 9:00AM - 5:00PM , WEDNESDAY: 9:00AM - 5:00PM , FRIDAY   : 9:00AM - 5:00PM,  THURSDAY : 9:00AM - 5:00PM , SATURDAY : C L O S E D  , SUNDAY   : C L O S E D , APPOINTMENT REQUIREMENT]
  </code></pre>
  
  <p>I need to convert the output in  sequence order like the below:</p>
  
  <pre><code>[ MONDAY   : 9:00AM - 5:00PM , TUESDAY  : 9:00AM - 5:00PM , WEDNESDAY: 9:00AM - 5:00PM , THURSDAY : 9:00AM - 5:00PM , FRIDAY   : 9:00AM - 5:00PM,  SATURDAY : C L O S E D  , SUNDAY   : C L O S E D , APPOINTMENT REQUIREMENT]
  </code></pre>