summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/list-snapshots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/list-snapshots.py b/scripts/list-snapshots.py
index b3bd98e..4079f2c 100755
--- a/scripts/list-snapshots.py
+++ b/scripts/list-snapshots.py
@@ -67,8 +67,8 @@ for name in snapshot_names:
snapshots.sort(reverse=True, key=cmp_to_key(lambda l, r: compare(l["name"], r["name"])))
tmpl = jinja2.Template("""
-{% for s in snapshots %}
- <h3 id="{{s.name}}">{{s.name}}</h3>
+{% for s in snapshots | natural_sort %}
+ <a href="#{{s.name}}">#</a><h3 id="{{s.name}}">{{s.name}}</h3>
<ul>
{% for f in s.files %}
<li><a href="{{f.link}}">{{f.name}} ({{f.platform}})</a></li>