Bug fix to category sorting
Merge branch 'master' of https://github.com/cleochan/ticket