I am doing this in OSX which uses bash but obviously, not all bash conventions are used so hopefully your suggestion is available to me :)
I have the following files
Foo bar2.tXT(that's an uppercase XT)
What I was is to iterate through the file list in a sorted manner?
for i in (my-sorted-file-list); do echo $i done
Any ideas how this can be done? thanks a lot