title: sort arraylist with key ascending
body: <pre><code>map = new LinkedHashMap&lt;String, String&gt;(); 
  list = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;(); 
  
  map.put("id", id);
  map.put("amt", amt);
  
  list.add(map);
  </code></pre>
  
  <p>How to  sort the list with ascending order of <code>amt</code>. I was unable to do this.
  I'd really appreciate any help.</p>
  
  <p>I am adding <code>id</code>, <code>amt</code> in loop. How to sort with key as <code>amt</code>?</p>
  
  <pre><code>id=1,2,3,4,5
  amt=1000,33333,77,9087,5432
  </code></pre>