list = ["Conversation With Bob May 10, 2017 13:05",
"Conversation With Bob May 10, 2017 9:22",
"Conversation With Alice May 12, 2017 4:12",
"Conversation With Alice May 8, 2017 3:59",
"Conversation With Kevin December 12, 2017 7:55",
"Conversation With Tom January 5, 2017 16:00",
"Conversation With Alice, Bob, Kevin February 5, 2017 21:00",
"Conversation With Alice, Kevin March 12, 2017 9:45"]
I want to sort this list first alphabetically by the "Conversation With Alice" part, and then by date/time.
I know I have to do something along the lines of :
list.sort(
function(a,b) {
//DO SOMETHING
}
)
But I'm having trouble getting this sort correct.
EDIT: Sorry I meant in javascript.