/Engine/Source/Editor/UnrealEd/Public/ActorGroupingUtils.h
Creates a new group from the current selection removing the actors from any existing groups they are already in
virtual [AGroupActor](API\Editor\UnrealEd\Editor\AGroupActor) * GroupSelected()