From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Order of TODO entries by `org-sort-entries' [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Date: Sun, 21 Jun 2015 10:46:40 -0400 Message-ID: <87bng9dsq7.fsf@kmlap.domain.org> References: <1434881159.10588.0@smtp.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6gWH-0001sx-TJ for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 10:46:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6gWC-0006uH-MP for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 10:46:49 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:36560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6gWC-0006to-JV for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 10:46:44 -0400 Received: by qcet6 with SMTP id t6so20949034qce.3 for ; Sun, 21 Jun 2015 07:46:42 -0700 (PDT) In-Reply-To: <1434881159.10588.0@smtp.gmail.com> ("Simen =?utf-8?Q?Heggest?= =?utf-8?Q?=C3=B8yl=22's?= message of "Sun, 21 Jun 2015 12:05:59 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simen =?utf-8?Q?Heggest=C3=B8yl?= Cc: emacs-orgmode@gnu.org Hi, Simen Heggest=C3=B8yl 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