Sort images by filename.