tweaks to @mglinski's groups changes
sort case-insensitively
Merge pull request #309 from eve-val/groups-tweaks

tweaks to @mglinski's groups changes