// 降序排列函数 compare: function(property) { return function(a, b) { var value1 = a[property]; var value2 = b[property]; return value2 - value1; } }