Store image date metadata and sort slideshows