Added sorting to "compare to" list for groups