diff --git a/update.sh b/update.sh
index fcd570b9..27a911e3 100644
--- a/update.sh
+++ b/update.sh
@@ -4,7 +4,9 @@ find -type f | grep ympbuild | while read line ; do
done
[[ -d output ]] && rm -rf output
mkdir -p output
-find -type f | grep "source.ymp$" | while read line ; do
+find -type f | grep "source.ymp$" | sort -V | while read line ; do
mv $line output
+ echo "* $(basename $line)
" >> output/index.html
done
ymp index output --allow-oem
+echo "* ymp-index.yaml
" >> output/index.html >> output/index.html