layers no longer in alphabetical order.

How can this be fixed?