How do I sort a list by date/time? in my application, the date/time format is “Mon, Nov 1 | 8:30 PM” when I try to convert the string into date getting an invalid date as o/p. Help me to sort a list by date/time. Related to this question Answer You can parse the strings to values that sort as required.