Been there, done that. I assume you're talking about Page.imagelinks(). That gets you the images in arbitrary order. I need to get them in the order they're in the wikitext. A given nomination can be approved, dis-appoved, re-approved, etc, as people squabble over the nomination. The last one is the one that counts.