this post was submitted on 28 Nov 2024
87 points (95.8% liked)

Linux

48715 readers
1098 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

it's so confusing that the order changes when adding IDENTICAL strings to BOTH filenames. Is this really how it's supposed to be?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

If a person was ordering them, they would do it in numerical order. Despite these being numbers, the computer is still ordering in alphabetical order.

Doing it the way a person would requires the file manager to understand context, which requires a lot more logic for arguably little benefit.

I note that your season and episode start with 0 as well (S01E05), in order to ensure the alphabetical ordering works. Perhaps you should use 5.0 to solve this in the same way.

[–] [email protected] 10 points 4 weeks ago (1 children)

Doing it the way a person would requires the file manager to understand context, which requires a lot more logic for arguably little benefit.

I'm so glad KDE Dolphin has a "natutal sorting" option. Not sure about this specific case, but I have never been surprised by the order with that setting.

Would be interesting to check the code behind it.

[–] [email protected] 13 points 4 weeks ago

It's an API call which emails a guy who just does it real fast by hand