How to prevent from alphabetically sorting in azure logic app


How to prevent from alphabetically sorting in azure logic app



It has been automatically sorting in azure logic apps when I saved my logic flow.



I want to set the first item to id as like this


id



But, I got like this.



cosmosDB's result document





I dont think you can do anything about it, is it really a problem ? I understand that it can bother you but it is not such a big deal :-)
– Thomas
2 days ago





HaHa...Yeah, it is not problem to my resource and just only be sensitive to appearance. ;-)
– Khin Thet
13 hours ago




1 Answer
1



In the JSON standard, properties in an object are not ordered and usually JavaScript JSON libraries default to alphabetical ordering of properties.



So this is an expected behaviour that shouldn't have side effects if you stick to the JSON format. In other scenarios, like converting to XML, this might be an issue.



HTH.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift