title: Sorting a concurrent hash map by value
body: <p>I am new to java. 
  I want to sort a concurrent hash map by value. I found a way of doing it here -
  <a href="https://stackoverflow.com/questions/5942474/sort-concurrent-map-entries-by-value">sort concurrent map entries by value</a> </p>
  
  <p>Is there a simpler way of doing it? Can someone please explain it with an example ?</p>
  
  <p>Thanks.</p>