Sorting the category dropdown list