title: How to sort HashMap based on Date?
body: <p>I trying to sort this HashMap based on date in keys</p>
  
  <p>My Hash map:</p>
  
  <p><code>Map&lt;Date, ArrayList&gt; m = new HashMap&lt;Date, ArrayList&gt;();</code></p>