Sorted the list of subtasks and projects.