Looking to organize a JSON Object based on the key - Chrome maintains the order I need, but Firefox does not.
Below is an example of my JSON object:
{
"media": {
"1387185503": {
"id_profil": "7256",
"photo_profil": "http://www.mupiz.com/7256/picture",
"phrase_feed": "a ajouté une nouvelle vidéo",
"nom_media": "Jam a la casserole",
"nom_profil": "Camille Boullier de Branche",
"url_profil": "camille-boullier-de-branche",
"streaming": "<iframe width=\"270\" height=\"200\" src=\"http://www.youtube.com/embed/K6i_avCwsvQ?html5=1\" frameborder=\"0\" allowfullscreen></iframe>",
"url_media": "http://www.mupiz.com/camille-boullier-de-branche/video/jam-a-la-casserole"
},
"1387185460": {
"id_profil": "7256",
"photo_profil": "http://www.mupiz.com/7256/picture",
"phrase_feed": "a ajouté une nouvelle vidéo",
"nom_media": "festival silhouette 2010 avec IGIT",
"nom_profil": "Camille Boullier de Branche",
"url_profil": "camille-boullier-de-branche",
"streaming": "<object width=\"270px\" height=\"200px\" ><param name=\"movie\" value=\"http://www.dailymotion.com/swf/xet02y&related=0&colors=background:000000;foreground:FFFFFF;special:88868A;\"></param><param name=\"wmode\" value=\"transparent\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowScriptAccess\" value=\"always\"></param><embed src=\"http://www.dailymotion.com/swf/xet02y&related=0&colors=background:000000;foreground:FFFFFF;special:88868A;\" type=\"application/x-shockwave-flash\" width=\"270\" wmode=\"transparent\" height=\"200\" allowfullscreen=\"true\" allowscriptaccess=\"always\"></embed></object>",
"url_media": "http://www.mupiz.com/camille-boullier-de-branche/video/festival-silhouette-2010-avec-igit"
},
"1385912810": {
"id_profil": "36541",
"photo_profil": "http://www.mupiz.com/36541/picture",
"phrase_feed": "a ajouté une nouvelle chanson",
"nom_media": "Sans titre",
"nom_profil": "Eve IBK",
"url_profil": "evelyne-zyss",
"streaming": "\r\n <div class=\"playerMedia\" onclick=\"InlinePlayer(this)\" data-url=\"http://www.mupiz.com/mp3/36541/mp3_85725.mp3\" data-id=\"mp3_85725.mp3\">Sans titre</div>\r\n",
"url_media": "http://www.mupiz.com/evelyne-zyss/"
}, .....
I aim to sort this section of the JSON object by timestamp in ascending order rather than descending.
Any suggestions?
Thank you