prevent unsorted image list issues

added sorting of image sequnce file list to fix unsorted list issues on linux