Sort completed tasks at the end of the task list.
Add ability to sort task list by title or category by clicking on headers (fixes #3)