Paul, Thanks for the reply. It's quite strange. I've looked at the exif data (time and date) and they are consistent with the filenames and the actual time and date the photos were taken. What I found after restoring the backup, the first photo was 2011-07-16 20.34.00.jpg, taken on July 16 at 8:34:00 pm. The following photos fell in reverse chronological order to when I first bought the phone, 2011-07-01 17.54.26.jpg. THEN the next photo is 2012-05-28 15.20.58.jpg, the last photo I took on the old phone. The following photos from there run in reverse chronological order and the last photo is 2011-07-16 20.34.06.jpg, taken 6 seconds after the first photo. So the sort looks like this:
July 16, 2011 20:34:00 ---> July 1, 2011 17:54:26 ---> May 28, 2012 15:20:58 ---> July 16, 2011 20:34:06
As I said, exif data is consistent with the times. I've manipulated file modification times using jhead and touch (My desktop computer runs linux). I even tried setting all the file mod times to the same exact time and date hoping it would then sort by file name. No luck.
Here is the exif data from the first and last photos that were taken 6 seconds apart:
EXIF tags in '2011-08-16 20.34.00.jpg' ('Intel' byte order):