php - Can I disable the default sort for jquery $.post? -


i have data structure gets returned server via php sorted correctly based on timestamp. when view data structure client sorted parent key. can disable default behavior or better yet how sort based on timestamp via jquery on client side?

here data structure looks being returned server:

    [conversation] => array     (         [7943] => array             (                 [timestamp] => 1364062233             )          [9482] => array             (                 [timestamp] => 1364125301             )          [9475] => array             (                 [timestamp] => 1364128494             )      ) 

here see after it's returned client:

$.post("test_function.php", { function: 'test' }, function(data) {     console.log(data); }, "json"); 

data:

conversation: object   7943: object     timestamp: 1364062233   9475: object     timestamp: 1364128494   9482: object     timestamp: 1364125301 

return array of objects, not object. objects unordered.


Comments