I defined 4 TODO keywords. Two are in the TODO state and two others (DONE and CNCL) belong to the DONE state:
(setq org-todo-keywords '((sequence "TODO" "WAIT" "|" "DONE" "CNCL" )))
I defined a sort strategy:
(setq org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-down priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)))
todo-state-down puts tasks in the following order:
xxx: Scheduled: WAIT waiting for info xxx: Scheduled: TODO still need to do xxx: Scheduled: CNCL won't be doing this one xxx: Scheduled: DONE put this at the bottom
I see that the TODO states are on top and the DONE states are on the bottom. But, within each state, the WAIT appears before TODO, and CNCL before DONE.
That is unexpected. I thought I'd get tasks in the order that I defined the todo-keywords: TODO, WAIT, DONE and finally CNCL.