Sort images and videos by Month and Year.