maintain sequence order when loading images (issue #25)