summaryrefslogtreecommitdiff
path: root/man/lib/mksectionindex.py
diff options
context:
space:
mode:
Diffstat (limited to 'man/lib/mksectionindex.py')
-rw-r--r--man/lib/mksectionindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/lib/mksectionindex.py b/man/lib/mksectionindex.py
index e1a84926..35c13b13 100644
--- a/man/lib/mksectionindex.py
+++ b/man/lib/mksectionindex.py
@@ -29,7 +29,7 @@ if __name__ == "__main__":
<pre>
"""
- for f in os.listdir():
+ for f in sorted(os.listdir()):
if f == 'INDEX':
continue
index_file += f"<a href=\"{prefix}{section}/{f}.html\">{f}</a>\n"