JSON对象日期升序

时间:2016-05-19 17:34:59

标签: javascript json

我有这个对象,显示的exmalpe只是完整对象的一小部分样本,我需要在javascript中按日期升序排序。

{
"2009-07-31T00:00:00.000Z": -4.9287,
"2008-11-30T00:00:00.000Z": 4.917,
"2011-07-31T00:00:00.000Z": 6.0647,
"2008-06-30T00:00:00.000Z": 6.1647,
"2013-06-30T00:00:00.000Z": -1.1205,
"2012-01-31T00:00:00.000Z": 3.325,
"2010-07-31T00:00:00.000Z": -1.6741,
"2015-10-31T00:00:00.000Z": -6.6224,
"2010-08-31T00:00:00.000Z": 7.607,
"2005-08-31T00:00:00.000Z": -1.6419,
"2014-06-30T00:00:00.000Z": 2.6802,
"2009-03-31T00:00:00.000Z": -7.5287,
"2006-06-30T00:00:00.000Z": -3.4553,
"2011-12-31T00:00:00.000Z": 4.8374,
}

我该怎么做呢?

0 个答案:

没有答案