AutoCAD layers are not in alphabetical order

Autodesk Support

Oct 8, 2023


Products and versions covered


Issue:

When clicking the drop-down menu for Layers in AutoCAD, the layers are not displayed in alphabetical order.

User-added image

Causes:

The number of layers exceeds the current value of the MAXSORT system variable. The total number of layers is equal to the current drawing's layer count, plus all layers from any attached external reference (xref) drawings.

Solution:

Increase the value of the MAXSORT variable. On the AutoCAD command line, type MAXSORT. Set the value higher than 1,000. Usually 5,000 is high enough to accommodate most drawings. To double-check the amount of layers in the drawing (including xref layers), look in the Layer Properties Manager (LAYER command).

Products:

AutoCAD Products;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support