How do I sort this hashmap?
<pre><code>for(int i=0;i&lt;videos.length();i++){                     
    HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();    
    JSONObject e = videos.getJSONObject(i);

    map.put("id",  String.valueOf(i));
    map.put("title",  e.getString("title"));
    map.put("description",  e.getString("description"));
    mylist.add(map);
}       
</code></pre>

<p>Hi, I am trying to sort the code above alphabetically. I know tree maps, are supposed to be used for this sorta thing, but it would be a bigger hassle to to do that. I am having errors arranging the hash map, and have looked at numerous examples.</p>
