Fix product category/brand sorting.