To be honest, there is no exact order. To put the files in order you will have to change the code.... look for this bit of code (Starts near line 514):
PHP Code:
//Lets get some images!!
$dir=@opendir($full_server.$album);
//Loop through them all ;).
while($file=@readdir($dir)) {
and replace it with this:
PHP Code:
//Lets get some images!!
$dir = $full_server.$album.'*';
//Loop through them all ;).
foreach(glob($dir) as $file){
$file = substr($file, strlen($dir)-1);
That should order them alphabetically.