Sort the category list