fixed ordering of categories