I have a hash map in which Date is stored as a key and array list is a value. I want to sort the map in order to display a latest date first and old date last.
E.g we have 4 dates as a key like "01-09-2014","02-09-2014","31-08-2014","30-08-2014";
So output should be "02-09-2014","01-09-2014","31-08-2014", "30-08-2014"
Please help me to solve this issue.
Thanks.