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 your own comparator. Then use Collections.sort(arrayList, myComparator);
Collections.sort(arrayList, myComparator);
Comparator myComparator = new Comparator() { int compareTo(String string1, String string2) { ...... } boolean equals(String str1) { ...... } }