We look at the default
Can we use
foo.sort((a, b) => a.toLocaleLowerCase(b));
foo.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase));
@Raglb I tried your suggestion in nodejs. It didn't work as expected.