Sort the toggle values for groups to avoid random ruby 1.8.x fails.