Adds sort to sort tasks by starting date