I added the identify tool to my flex app (1.3 API) using code similar to the Identify widget in the sample viewer, and I have been having an issue where the fields are always returned in a random order. The order that the fields appear in the rest endpoint is what I'd like them to display as in the identify results.
When I submit an identify request to the service through the rest endpoint, it always returns the fields in the same order. When I get the results using the identify code supplied by the Flex api they are always in a random order that changes each time you open the flex app.
Is there a setting I can change in my flex code that will fix this or is it the API that does this? If it is in the API, is that considered a bug or a feature? Anyone know whether it still behaves in this manner in the new 2.0 api?
Thank you!