Hi, Can someone tell me if there is a bug in mapserver or I am doing something wrong. I am trying to use legend_order metadata parameter and order_metadata tag in legend template but my layers always appear in order they are entered in the mapfile. How can I set the layer order in legend? thanks regards, dejan