Align explorer sorting with platform sorting

It looks like our file sorting in the explorer does not match platform beahviour in some cases.

Windows:

  • a file foo.ts is sorted before foo_test.ts but we sort it the other way around

Linux:

  • a file foo.ts is sorted before foo_test.ts but we sort it the other way around
  • a lowercase file seems to be sorted before an upper case file but we seem to mix the sorting independent of the casing (e.g. folders [out, outb, outd, Outa, Outc] are showing up as [out, OutA, outb, Outc, outd]

macOS:

  • seems to be OK

We use a JavaScript Collator for the comparing here.

Unfortunately I am not able to tweak the Collator options to bring me the desired result...