Revamp MiscSorter and add some cat by group support
Fix issues identified by scrutinizer and a few bugs
Merge pull request #116 from nZEDb/dev

Dev