diff options
Diffstat (limited to 'elchemy-functions.el')
-rw-r--r-- | elchemy-functions.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elchemy-functions.el b/elchemy-functions.el index 0c36ad8..0c53bc5 100644 --- a/elchemy-functions.el +++ b/elchemy-functions.el @@ -69,7 +69,7 @@ (let* ((agenda-items-raw (org-ql-select (org-agenda-files) `(todo ,TODO) - :sort '(date todo priority))) + :sort '(priority todo date))) (agenda-items-plist (mapcar #'(lambda (x) (cl--plist-to-alist (car (cdr x)))) agenda-items-raw)) (agenda-items-filtered (seq-filter (lambda (x) (eq (cdr (assoc :level x)) LEVEL)) agenda-items-plist))) (mapcar #'(lambda (x) (cdr (assoc :raw-value x))) agenda-items-filtered))) |