AnsweredAssumed Answered

Can the features in the 3.x Popup window be sorted?

Question asked by friedrichd_saccounty on Jan 11, 2018
Latest reply on Jan 12, 2018 by rscheitlin

If we have a feature class where multiple features overlap each over, is there anyway to sort the features shown in the infowindow popup?


For example, if we have multiple point features representing different 3-1-1 calls that overlap each other on the map, is there anyway to enforce an ordering so that when the map is clicked, the newest feature, based on a timestamp column, is shown first ? So that the newest record is 1 of X, the second oldest is 2 of X etc.


It seems that the ordering of item in the popup window is random.


I tried adding code to the "set-features" event handler to sort the features, but this did not make any differenct