{"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 100000; i\u002B\u002B){\r\n arr.push([-1,getRandomInt(100)]);\r\n}","TestCases":[{"Name":"map \u0026 sort","Code":"arr.map(r =\u003E r[1]).sort()","IsDeferred":false},{"Name":"sort \u0026 map","Code":"arr.sort((a,b) =\u003E a[1]-b[1]).map(r =\u003E r[1])","IsDeferred":false}]}