AnsweredAssumed Answered

Need to reverse order of ListViews (Legends, Layers, etc.).

Question asked by jeremyplanteen on Jan 30, 2018
Latest reply on Jan 30, 2018 by paul.haakma

Apps using web maps populate list views for things like legends, layer lists, etc., in the order that they appear in the underlying code in the web map, which is typically reverse of the way they appear in the web map's TOC (top layer is at the bottom of the list in the JSON). 


What's the easiest way to reverse the order of these list views so that they populate in the same order as the TOC?