So I'm working on a web application in Portal. The webmap that it's connected to has multiple feature classes and multiple related tables added to them. I've received a request to alphabetize the feature classes and related tables so that when the attribute table widget is used, the user can easily find his/her layer of interest. I can alphabetize the feature classes easily by clicking & dragging. I can't seem to touch the related tables, either in the map or the app's attribute table widget.
The only way I could possibly work around this is deleting everything and adding the feature layers in reverse-alphabetical order (and then reconfiguring all pop-ups, symbology etc) but even then if the feature layer has more than one table, I cannot seem to work around it if those are manifested in incorrect order.
Anyone have any input or suggestions?
We have the same/similar issue and, aside from adding the layers individually we're not sure how to mitigate.
I did some investigation and, in our use case, found that, for reasons unknown, using a Map Layer/Service in a web map scrambled order of standalone tables. Try the following:
Hope that helps.