etc: teams: List members sorted by name.

* etc/teams.scm.in (list-members): Sort by name.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
zimoun 2022-10-20 15:28:12 +02:00 committed by Mathieu Othacehe
parent 70f43c0c2e
commit ab9e6597f6
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 1 deletions

View File

@ -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."