{"ScriptPreparationCode":"const minCodePoint = \u0027a\u0027.charCodeAt(0);\r\nconst maxCodePoint = \u0027z\u0027.charCodeAt(0);\r\nconst randomLetter = () =\u003E String.fromCharCode(Math.floor(Math.random() * (maxCodePoint - minCodePoint) \u002B minCodePoint));\r\nconst createWord = () =\u003E Array.from({length: 15}, randomLetter).join(\u0027\u0027);\r\n\r\nvar words = Array.from({length: 50000}, createWord);","TestCases":[{"Name":"Intl.Collator","Code":"const collator = new Intl.Collator(\u0027en\u0027);\r\nwords.sort(collator.compare);","IsDeferred":false},{"Name":"localeCompare","Code":"words.sort((a, b) =\u003E a.localeCompare(b))","IsDeferred":false}]}