This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Items are sorted by Lexicographical Sorting instead of Natural Sorting #917
Labels
bug
Something isn't working
First Check
Homebox Version
ghcr.io/hay-kot/homebox:latest
What is the issue you are experiencing?
The sorting of items only takes into account their Lexicographical Sorting, instead of a Human-Readable Natural Sort
There are many natural-sorting go packages in the wild, like this one (tons more but I haven't dug very far).
How can the maintainer reproduce the issue?
Add in 3 items, titled "A1, A2, A12", and the items will appear in order "A1, A12, A2"
Deployment
Unraid
Deployment Details
No response
The text was updated successfully, but these errors were encountered: