question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Align explorer sorting with platform sorting

See original GitHub issue

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…

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:32
  • Comments:39 (19 by maintainers)

github_iconTop GitHub Comments

15reactions
comerccommented, Aug 13, 2017

I want sort order like GitHub repo. Please!

6reactions
leilapearsoncommented, Jul 7, 2020

PR #97272 adds the option to group files and folders by case, but that PR was submitted at a time when the reviewers weren’t available and is out of date now. I’ll take a look at resurrecting it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sharepoint sorting in conflict with native Windows OS
How do I get Sharepoint files to sort properly in alignment with other Microsoft/Windows platforms? Example: Sharepoint document sort:.
Read more >
Change how Explorer sorts files with number in name
Double-click Turn off numerical sorting in Windows Explorer in the Settings section of the Group Policy editor. Select Enable and then click OK...
Read more >
FAQ-743 How do I sort windows by multiple attributes under ...
You can do nested sorting by multiple attributes in Project Explorer by holding down SHIFT key when clicking column headers.
Read more >
Innovative Revit Software Plugin | Sorting by Category View
The Sort By option is only available on the Explore tab. Read: Explore the Annotative Revit Model and Elements with Ideate Explorer. The...
Read more >
Table | Quasar Framework
If you don't need pagination, sorting, filtering, and all other features of ... Will be also used for non-virtual-scroll tables for fixing top...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found