Added ability to sort tasks by name, priority and due date