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

View file

@ -530,7 +530,9 @@ (define port* (or port (current-output-port)))
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."