Added a sort to the photo files by time.
Limited the max number of photos shown to 200 so as not to crash the system.