Picture files in JPEG format contain a section of metadata named EXIF. It describes details of the circumstance of when a picture was shot, like for instance the picture shot date and time.
This class takes advantage of the EXIF information to sort the listing of pictures according to the date and time of when the pictures were taken.