Sorts images and videos by date taken based on metadata