Delete and sort photos in mapping class