I don't really know where I should post this, but I remember Windows has the same behaviour, so I'm here.
Say I have some files named: 1 2 10 11 20
This is the order you expect, right?
I have solved this in the past and present putting a zero in front of units, but I'm sure there's a better way to sort the files in the proper way. Is there?