[GIS] How to define layer order in leaflet

geojsonlayersleaflet

I added some geojson layers on my map but they are ordred in the menu randomly.
enter image description here

for example I like Zones to be above Bus line how to control this.
here my example

Best Answer

I recently solved this by working with Panes in Leaflet.js

http://leafletjs.com/examples/map-panes/

I can use this with any type of layer that I add to a Leaflet.js map. Very handy!