Problem solved. Ther was a blank space in fornt of some of the filenames.

Sorting photos by file name does not work properly in ACDSee Photo...