Sorts the options in group filter