Can anyone tell me how to sort an array containing filenames that start with numbers? Because strings that start with 11, 12, 13 etc are considered lower than 2, it\'s scewi
Use can get the natural ordering using natsort
See it.