database: db-get-specifications: Order specs by name.

* src/cuirass/database.scm (db-get-specifications): Order rows by "name".
This commit is contained in:
Ricardo Wurmus 2019-06-18 22:56:18 +02:00
parent 9017b9fbc1
commit 767f34bd68
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ package_path_inputs, proc_input, proc_file, proc, proc_args) \
(define (db-get-specifications)
(with-db-critical-section db
(let loop ((rows (sqlite-exec db "SELECT * FROM Specifications;"))
(let loop ((rows (sqlite-exec db "SELECT * FROM Specifications ORDER BY name DESC;"))
(specs '()))
(match rows
(() specs)