Added sorting in the category listing