I have a simple ajax call that looks like this:
var data = jQuery.parseJSON(response.d);
The response.d
contents are:
{"d":"[[{\"ExtensionData\":{},\"categoryId\":\"Help\"}],{\"11\":\"This is 11\",\"10\":\"This is 10\",\"7\":\"This is 7\",\"6\":\"This is 6\",\"12\":\"This is 12\",\"5\":\"This is 5\",\"4\":\"This is 4\",\"2\":\"This is 2\",\"1\":\"This is 1\"}]"}
When I run the code and look at what data contains, it looks like this:
- "This is 1"
- "This is 2"
- "This is 3"
- "This is 4"
- "This is 5"
- "This is 6"
... and so on, you get the idea. Why is it sorted all of the sudden? How do I turn off the "autosort"?