From 702f6a9e6ef16638660905c71380e615f90d8e0e Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 14 Jun 2024 15:51:34 -0700 Subject: New Todo and Sorting --- elchemy-functions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elchemy-functions.el') 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))) -- cgit v1.2.1