To create an entity group, click on the action icon as illustrated, and select New Group.
To move an entity or a group, click on the Move icon, then while keeping the mouse button pressed, drag and drop the entity or group to the new desired position.
When moving an entity you can change its position within the group or move the entity from one group to another.