title: Leaflet layer ordering
body: <p>I'm having problems about the layer ordering in leaflet.
  I've followed this page
  <a href="http://leafletjs.com/examples/layers-control.html" rel="noreferrer">http://leafletjs.com/examples/layers-control.html</a></p>
  
  <p>exact question would be... how can I reorder the layers (foreground background etc).</p>
  
  <p>Lets say, one of my "base layers" is made of semi transparent tiles, and I want to see the "overlay layers" through my base layer (it should be at the foreground)</p>
  
  <p>Depending on the page example, here is a snippet to explain more about the issue:</p>
  
  <pre><code>var baseMaps = {
      "Minimal": minimal,
      "Night View": midnight,
      "My Custom Layer": customlayer
  };
  
  var overlayMaps = {
      "Motorways": motorways,
      "Cities": cities
  };
  </code></pre>
  
  <p>In other words, I would like to know how to set "My Custom Layer" as the layer that will be at the foreground (above overlayMaps).</p>
  
  <p>I've tried setting zindex values of layers, didn't help.</p>
  
  <p>Thanks.</p>