sort images by modification date