{"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);\r\nvar collator = new Intl.Collator();","TestCases":[{"Name":"Intl.Collator","Code":"words.sort(collator.compare);","IsDeferred":false},{"Name":"localeCompare","Code":"words.sort((a, b) =\u003E a.localeCompare(b))","IsDeferred":false}]}