Natural Sort File Names Like Windows Explorer
Natural Sort File Names Like Windows Explorer: a task in Terminal-Lego-15k (Harbor dataset). Implement natural sorting (also known as "human sorting" or "version sorting") of filenames in a Linux terminal environment. This is the sorting order that Windows Explorer and most file managers use…
The task
Implement natural sorting (also known as "human sorting" or "version sorting") of filenames in a Linux terminal environment. This is the sorting order that Windows Explorer and most file managers use, where numbers embedded in filenames are compared numerically rather than lexicographically (character by character).
Part of PrimeIntellect/Terminal-Lego-15k.