file listing order: fix bug
file listing order: fix bug: a task in smol-software-harbor (Harbor dataset). The file browser lists file10.txt before file2.txt : natural key() in natsort.py compares the digit runs as text. Digit runs must compare by numeric value and the rest case-insensitively (the function must also work when…
The task
The file browser lists `file10.txt` before `file2.txt`: `natural_key()` in `natsort.py` compares the digit runs as text. Digit runs must compare by numeric value and the rest case-insensitively (the function must also work when a digit run is compared with text, e.g. `"2a"` vs `"a2"`). Fix it and run `python3 -m…
Part of efederici/smol-software-harbor.