diff options
-rwxr-xr-x | gal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gal b/gal index 83ea478..840a907 100755 --- a/gal +++ b/gal @@ -49,7 +49,7 @@ EOF [ -f $OUTPUT/photo_list ] && echo "Replacing existing photo_list" && rm $OUTPUT/photo_list for ext in $EXTENSIONS; do - for f in `find $PHOTOS -name "*.$ext"`; do + for f in `find $PHOTOS -name "*.$ext" | sort -n`; do filename=$(basename $f) ## Add to index.html |