In Exifr for rails (im using this fork https://github.com/picuous/exifr ) how do i sort out the pictures according to date
this is how to get the date
EXIFR::JPEG.new('IMG_6841.JPG').date_time # => Fri Feb 09 16:48:54 +0100 2007
if im too vague let me know how to help
If you have all the pictures as a list just use Ruby’s normal
sortfunction (or sort!, if you want it in-place), so: