files-community/Files

Feature: Improve name sorting for numbered files/folder

Opened this issue · 3 comments

What feature or improvement do you think would benefit Files?

I have a collection of manga stored locally by chapter, but recently i observed the name sorting for numbered chapter folder sorted rather weirdly. I hope to see a better name sorting for numbered files/folder.

Scenario 1:
Image

Current behavior:

  • ch.1
  • ch.10
  • ch.11
  • ch.12
  • ch.13
  • ch.14
  • ch.15
  • ch.16
  • ch.17
  • ch.18
  • ch.19
  • ch.2
  • ch.20

Preferred behavior:

  • ch.1
  • ch.2
  • ch.3
  • ch.4
  • ch.5
  • ch.6
  • ch.7
  • ch.8
  • ch.9
  • ch.10
  • ch.11

Scenario 2:
Image

Current behavior:

  • ch.1
  • ch.2
  • ch.3
  • ch.4
  • ch.5
  • ch.6
  • ch.1.5
  • ch.2.5
  • ch.3.5

Preferred behavior:

  • ch.1
  • ch.1.5
  • ch.2
  • ch.2.5
  • ch.3
  • ch.3.5
  • ch.4
  • ch.5
  • ch.6

Requirements

  • This proposal will lead to a better name sorting for numbered files/folder.

Files Version

4.0.11.0

Windows Version

10.0.26100.6899

Comments

No response

I would be in favour of this, but it may need to be an option for the user. Maybe something like

Use smart file ordering for numerals

There is scope to go beyond numbers also, but this would be more complex, and may be language specific. Things like

Get Smart

The Golden Girls

  • Where the word "the" is treated as ignorable when sorting, the equivalent would be "Golden Girls, The" as a sorting name...

Halt and Catch Fire

I agree that this feature should be an option for user to opt-in to use.

We're tracking something similar in #11331.