summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2022-10-20 15:28:12 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-11-09 17:09:42 +0100
commitab9e6597f62de7d95462656d9078f45875051423 (patch)
treeaf6adb2654a98b0806616af6bd8a8b5dc6c66b48 /etc
parent70f43c0c2e684b201c7d826ee9f25a5e63c87a4b (diff)
downloadguix-ab9e6597f62de7d95462656d9078f45875051423.tar.gz
etc: teams: List members sorted by name.
* etc/teams.scm.in (list-members): Sort by name.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/teams.scm.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/teams.scm.in b/etc/teams.scm.in
index e06ac99ee8..f3f33aae08 100644
--- a/etc/teams.scm.in
+++ b/etc/teams.scm.in
@@ -530,7 +530,9 @@ TEAMS when a patch is received by Debbugs."
              prefix
              (person-name member)
              (person-email member)))
-   (team-members team)))
+   (sort
+    (team-members team)
+    (lambda (m1 m2) (string<? (person-name m1) (person-name m2))))))
 
 (define (list-teams)
   "Print all teams, their scope and their members."