I have the following object array where the key is the date in UTC format.
Array = [{1436796000000:[Task1,Task2],
1437400800000:[Task4,Task8],
1436968800000: [Task3,Task2],
1436882400000:[Task5,Task6]}]
I want to sort this array object by key in descending order. So the expected output will be following like the latest date will come first.
Array = [{1437400800000:[Task4,Task8],
1436968800000: [Task3,Task2],
1436882400000:[Task5,Task6],
1436796000000:[Task1,Task2]}]
How can I do this in javascript or using underscore.js?