diff --git a/taskwarrior.el b/taskwarrior.el index c061186..e63354b 100644 --- a/taskwarrior.el +++ b/taskwarrior.el @@ -343,7 +343,9 @@ (defun taskwarrior--urgency-predicate (A B) (let ((a (aref (cadr A) 1)) (b (aref (cadr B) 1))) - (string> a b))) + (> + (string-to-number a) + (string-to-number b)))) ;; Setup a major mode for taskwarrior ;;;###autoload