The first thing you need to do is renaming the photo files sequentially. In most cases, your files will be named sequentially anyway