closes #9: sort list by due date and priority