Making ArcGISDynamicMapServiceLayer appear above FeatureLayer on a map

Discussion created by danoski74 on Jun 9, 2014
Latest reply on Jun 10, 2014 by danoski74
I am using the ArcGISDynamicMapServiceLayer to display some labels and FeatureLayer objects to display shapes.
Both are added to the same map object but the ArcGISDynamicMapServiceLayer graphic is always beneath the FeatureLayer graphic.

I have tried map.reorder() but that does not work. I also tried adding one layer before the other but to no avail. I can set the opacity of the FeatureLayer but I don't really want to do that as it makes it difficult to see.

What am I missing?