I work in MVC. This is a $ .AJAX post, and I am returning a dictionary that is already sorted by key. Then I pass this dictionary as a result of JSON.
But in the browser, what I get is the same dictionary, but sorted in ascending order by key.
Is there a reason why it is sorted differently or if this is some kind of problem, please let me know what to do to get a dictionary with the same sorted order.
I already have googled and I have not found anything related to this.
Regards, Venkatesan R
source share