Skip to content

Align explorer sorting with platform sorting #27759

@bpasero

Description

@bpasero

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...

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityfile-explorerExplorer widget issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions