ORDER DUNGEON LAYERS uses the FRONT and BACK commands to place the dungeon layers in a suitable order. From back-most to front-most:
BACKGROUND (FLOOR 1)
BACKGROUND (FLOOR 2)
BACKGROUND (MAP)
…
OTHER LAYERS
…
UP AND DOWN
WALLS
CAVES
WALL FEATURES
ELEMENTAL AND MAGIC
SECRET
TEMPLE AND STATUES
FURNITURE
DEBRIS
WEAPONS
TRAPS
HEX/SQUARE GRID
TEXT LABELS
MAP BORDER (which is also frozen)
At the end of this, all layers are visible and thawed, apart from the Map Border layer which is Visible and Frozen.
Note: If you draw you dungeons in a non-standard way, you might find that this command re-orders your map in an unsuitable way.
Note: If you get an error message saying "No definition exists for <Layer Name>" use Add Definitions to correct the problem.