{"ScriptPreparationCode":"function getRandomInt(max) {\r\n return Math.floor(Math.random() * Math.floor(max));\r\n}\r\n\r\nvar arr = [];\r\nfor(var i = 0; i \u003C 500; i\u002B\u002B){\r\n arr.push({value:getRandomInt(100)});\r\n}\r\n","TestCases":[{"Name":"_.sortBy","Code":"_.sortBy(arr,\u0022value\u0022);\r\n","IsDeferred":false},{"Name":"sortByKey","Code":"const sortByKey = (array, key) =\u003E arr.sort((a,b) =\u003E (a[key] \u003E b[key]) ? 1 : (a[key] \u003C b[key]) ? -1 : 0);","IsDeferred":false}]}