I have an arrayList.
This is an arrayList of strings. The string contains a \"Date.toString\" in format of \"January 1, 1970, 00:00:00 GMT\" +
\"Date.toString\"
\"January 1, 1970, 00:00:00 GMT\"
Write a comparator in which, convert the strings to dates for comparison. Collections.sort(List, Comparator); does the job after that.
Collections.sort(List, Comparator);