{"ScriptPreparationCode":"array = Array.from({\r\n length: 50\r\n}, (x, i) =\u003E (Math.round(Math.random() * (i \u002B .01) * 1000)))\r\n\r\nsortNumeric = (a, b) =\u003E (Number(a) - Number(b));","TestCases":[{"Name":"Array.sort()","Code":"array.sort(sortNumeric);","IsDeferred":false},{"Name":"Array.toSorted()","Code":"array.toSorted(sortNumeric)","IsDeferred":false},{"Name":"[...Array].sort()","Code":"[...array].sort(sortNumeric);","IsDeferred":false}]}