title: Change z-index of marker in openlayers
body: <p>I've a layer with multiple markers with rather big icons, so they overlap. Via the list on the side of the map users can select a marker and the map will pan (and zoom) to it. But it will still be behind some other makers.
  How do I get a individual makers z-index and set it? I would be useful to get the highest used z-index and just add one. (another solution is to add the total number of markers to the z-index)</p>
  
  <p>The markers (or features) are in a myLib.features array. The console doesn't show any z-index type functions.</p>
  
  <p>I can't find a appropriate example or api function for this.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I found this example: <a href="http://dev.openlayers.org/examples/ordering.html" rel="nofollow">http://dev.openlayers.org/examples/ordering.html</a>
  I don't really understand it. Somehow the created feature takes the next z-index given by the layer via somekind of symbolizer. I have no idea how to work this static sort into a dynamic one.</p>