Added sorting for brands