title: Sorting HashMap <Integer, List<String>> in Java
body: <p>I have a hashmap:</p>
  
  <pre class="lang-java prettyprint-override"><code>Map&lt;Integer, List&lt;String&gt;&gt; dataA = new HashMap&lt;&gt;();
  </code></pre>
  
  <p>that contains data imported from Excel spreadsheet. HashMap Keys contain row numbers and HashMap Values contain lists of cell values in particular row.</p>
  
  <p>Now I need to sort this by specific column (or multiple columns) from the List. </p>
  
  <p>How to do that?</p>