Add dept to ticket's sort options

Addresses issue #450.