Organize your layers in the Map Editor by creating one or more layer groups.
The legend displayed in the Viewer matches the Layers By Group tab on the Layers pane in the Map Editor.
To create a layer group
The new layer group name is selected by default when you create it. Enter a new name and press Enter.
To control the order of groups
To rename a layer group