From a9ade930da83b03f41d1d677f715cdda2ccc9524 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 6 Nov 1999 16:49:06 +0000
Subject: [PATCH] Sort help file names, from Peter Eisentraut

---
 src/bin/psql/create_help.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/psql/create_help.pl b/src/bin/psql/create_help.pl
index c877a8d1d42..c5b0d868065 100644
--- a/src/bin/psql/create_help.pl
+++ b/src/bin/psql/create_help.pl
@@ -46,7 +46,7 @@ struct _helpStruct
 static struct _helpStruct QL_HELP[] = {
 ";
 
-foreach $file (readdir DIR) {
+foreach $file (sort readdir DIR) {
     my ($cmdname, $cmddesc, $cmdsynopsis);
     $file =~ /\.sgml$/ || next;
 
-- 
GitLab