Sort each group into alphabetical order.