Hi, Simen Heggestøyl <simen...@gmail.com> wrote: > Hi! > > Consider the following outline tree: > > * Tasks > ** TODO [#B] B > ** DONE C > ** TODO [#A] A > > When calling `org-sort-entries' on the top level headline, and > selecting `o' to sort by TODO order, the order becomes the following: > B, A, C. However, I would expect the order A, B, C, since A has higher > priority than B. A, B, C is also the order chosen by the agenda. > > So I'm wondering, is this a bug, intended behavior, or just a missing > feature of `org-sort-entries'?
I think that's the intended behavior. The priority is not considered when sorting by TODO keywords. -- Kyle