added due dates to subtasks, and ordered subtasks by date

also moved the date ordering to the tasks class as a method.