This now sorts the date by date