The order the layers are drawn depends on the order in wmsLayers in layers.json. However this is not respected for google maps layers.