Sort images by filename