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