// sort strings strings.sort((a, b) => a.localeCompare(b))
How to sort strings in JavaScript
String โฉ .localeCompare()
Last updated 3 years ago