title: Sort by day of the week from Monday to Sunday in Java
body: <p>I have day in below format.</p>
  
  <pre><code>"Fri 05:00"
  "Tue 10:15"
  "Mon 02:00"
  </code></pre>
  
  <p>And I want to sort this day which is starting from Monday to Sunday.</p>
  
  <p>I have tried with formatting this dates to </p>
  
  <pre><code>SimpleDateFormat format = new SimpleDateFormat("EEE hh:mm");
  </code></pre>
  
  <p>Then I have created List of these dates. Then I have used Calendar.DAY_OF_WEEK in Comparator but it is sorted from dates which is starting from Sunday not Monday.</p>