Remove any chance of duplicates by returning sorted(set(group_list))
Merge pull request #11322 from dlanderson/getgrouplist

Remove any chance of duplicates by returning sorted(set(group_list))