• Fushuan [he/him]@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    Are you intentionally ignoring that the actual names of the files are “11. EpisodeEleven.mp3”? There’s whitespaces and a bunch of letters there.

    I’m also a professional programmer, and assuming that sorting by numbers code would try to grab the first block of strings until the first whitespace is a big assumption I would not make. I’d say that after trying to convert everything but the extension to a number for sorting it failed so it defaulted to string sorting for everything else.

    • logicbomb@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 days ago

      You explaining that you would only do a numerical sort when the basename of the filename is entirely a number, as if your logical sense translates into a good user experience, is exactly why companies have to hire UX designers instead of just programmers.

      If you have Windows 10, I suggest that you play around with filenames with numbers in file explorer and see how they’re sorted. Your intuition does not match the average user’s expectations in this circumstance.