Made an input image file list sorted to ensure the same order of processing.