{"ScriptPreparationCode":"\r\nvar arr = [];\r\nfor(var i = 0; i \u003C 1000; i\u002B\u002B){\r\n arr.push({updatedAt: new Date(\u002B(new Date()) - Math.floor(Math.random()*10000000000))});\r\n}\r\n","TestCases":[{"Name":"native sort","Code":"arr.sort((a,b) =\u003E {\r\n a = new Date(a.dateModified);\r\n b = new Date(b.dateModified); \r\n return a\u003Eb ? -1 : a\u003Cb ? 1 : 0;\r\n})","IsDeferred":false},{"Name":"lodash sort","Code":"_.sortBy(arr,\u0022updatedAt\u0022, \u0022desc\u0022);","IsDeferred":false}]}