I using a hashMap as the list for a select tag. Is there a way to sort the values by the listValue?
i.e. I have a hashmap where the key is a country code like "CAN" and the value is the country name like "Canada". I want to sort the select list by the country names.
View All Comments
| View Tutorial