Added sorting options for categories