sort for categories and full width table