Rearranges the entities within this Group object.
This function transfers numItems starting at the fromIndex to the toIndex.