As simple as it sounds, WMS layers from Geoserver rendered on client side via Leaflet/Openlayers have their Z-index predefined in the code itself; I was hoping to use an interface of sorts to reorder layers similar to how QGIS/ArcGIS layer ordering works.
Some idea from Leaflet Plugin http://elesdoar.github.io/leaflet-control-orderlayers/
Is there anyway to have a feature to drag and reorder instead of clicks? I couldn't find any on Openlayers. Please suggest any other alternatives.