Ta Jason - yes, I know that is the case once the info has been written to the page (and on flat html pages), but it was the bit between getting the info from the database and dynamically writing it to the page that I was wondering about. It seems to write the info to the page in the reverse order from the ID order in the database. I.e the database images have IDs of (say) 1, 2, 3, 4 . . . 150 etc, but they're written to the page as (their IDs would be) 150, 149, 148, 147 . . . 1 etc.
It's not important at all, I just didn't know why.
Glad the Opera saga is over, I guess the fat lady has sung.