Al Le wrote:
Yes, it's a simple rule, and from this point of view I could very well live with it. But it puts "04" before "3" which wasn't the intention of the natsort in the beginning (if I understand correctly). For example, Nautilus puts "03" before "4".
In my understanding, the intention of "natsort" was to fix 1, 10, 2, 3, 4, 5, 6. It can still do this while respecting intentional leading zeros, and my described "simple rule" still fixes that problem just fine.
