I'm trying to sort a list of strings with accented characters e.g.["Zebra", "Apple", "Ähhhh"]
and I want it to look like ["Apple", "Ähhhh", "Zebra"]
Just running list.sort()
gives me ["Apple","Zebra","Ähhhh"]
Is there another built in function (like localeCompare
) that will let me sort this in the way I want it to be?
Thanks!