category sort updated to work with retired products
Merge pull request #53 from JavaRabbit/category

category sort updated to work with retired products