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

  • @[email protected]
    link
    fedilink
    7
    edit-2
    1 day ago

    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.

    • @Deckweiss
      link
      81 day ago

      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.

      • @BluesF
        link
        111 day ago

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