The new
group object is inserted into the groups collection at the specified index. Any existing group objects at or following this index, will have their collection index increased by one. If no index is supplied, the new group object is appended to the end of the groups collection.