arrange layer order when loaded/toggled using the layerorder array