basic auto sort for completed/incomplete tasks.