changed the date format as in the lesson so it will sort properly