Sort list output alphabetically - pee - Pee a password manager;Pee - because you have to...
 (HTM) git clone git://vernunftzentrum.de/pee.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit c95023b2fdc87ba95dc2a68f8a8aa4e31968d38e
 (DIR) parent dfac95894f1ebd1d65322a31e5f0051ceb66109b
 (HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
       Date:   Thu, 21 Apr 2016 14:57:21 +0200
       
       Sort list output alphabetically
       
       Diffstat:
         pee.scm                             |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/pee.scm b/pee.scm
       @@ -337,9 +337,10 @@
                                             ".*")
                                         'i 'utf8))
                 (accounts
       -         (filter (lambda (k)
       -                 (irregex-match regex k))
       -                 (db-keys db))))
       +          (sort (filter (lambda (k)
       +                          (irregex-match regex k))
       +                        (db-keys db))
       +                string<=)))
            (when (null? accounts)
                  (print "Error: No entry for " account " found.")
                  (exit 1))