[GH-ISSUE #650] Alphanumeric sort is broken #399

Closed
opened 2026-04-08 16:52:36 +03:00 by zhus · 2 comments
Owner

Originally created by @shelvacu on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/650

When listing folders with edge-case-y filenames (ex 1a and 01), dufs panic!s. This is because alphanumeric-sort has a bug which I reported upstream but it doesn't seem like it will be fixed anytime soon.

dufs should probably stop using this project or make a fork with a fix if the feature is important to people.

Originally created by @shelvacu on GitHub (Nov 10, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/650 When listing folders with edge-case-y filenames (ex `1a` and `01`), dufs `panic!`s. This is because alphanumeric-sort has a bug which [I reported upstream](https://github.com/magiclen/alphanumeric-sort/issues/8) but it doesn't seem like it will be fixed anytime soon. dufs should probably stop using this project or make a fork with a fix if the feature is important to people.
zhus closed this issue 2026-04-08 16:52:36 +03:00
Author
Owner

@luneth commented on GitHub (Dec 29, 2025):

It would seem upstream fixed the issue a couple weeks ago magiclen/alphanumeric-sort#11

<!-- gh-comment-id:3695129916 --> @luneth commented on GitHub (Dec 29, 2025): It would seem upstream fixed the issue a couple weeks ago [magiclen/alphanumeric-sort#11](https://github.com/magiclen/alphanumeric-sort/pull/11)
Author
Owner

@sigoden commented on GitHub (Jan 8, 2026):

#655 fixed this.

<!-- gh-comment-id:3721783637 --> @sigoden commented on GitHub (Jan 8, 2026): #655 fixed this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#399