Added sorting on category list