fixed ordering of category