From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: [BUG] Upcoming deadlines sorted in reverse order Date: Tue, 29 Nov 2016 14:17:02 -0600 Message-ID: <8760n6oxc1.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBopv-0005cV-5L for emacs-orgmode@gnu.org; Tue, 29 Nov 2016 15:17:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBops-0006sE-1b for emacs-orgmode@gnu.org; Tue, 29 Nov 2016 15:17:07 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38662) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBopr-0006s6-UP for emacs-orgmode@gnu.org; Tue, 29 Nov 2016 15:17:03 -0500 Received: from archbook (wcnat-96-17.wheaton.edu [209.147.96.17]) by mail.messagingengine.com (Postfix) with ESMTPA id 197B32413E for ; Tue, 29 Nov 2016 15:17:03 -0500 (EST) 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" To: Org Mode With commit 9299efa3519b3ef3191e8dc06a4466696c720f6c, upcoming deadlines in the agenda are sorted in reverse order, with more distant deadlines appearing first and imminent and overdue deadlines appearing last. Running emacs -Q and using the following org file... * An overdue deadline DEADLINE: <2016-11-27 Sun 17:00> * A close deadline DEADLINE: <2016-11-30 Wed 17:00> * A more distant deadline DEADLINE: <2016-12-06 Tue 17:00> ...I find that the agenda produces this... Day-agenda (W48): Tuesday 29 November 2016 test: In 7 d.: A more distant deadline test: In 1 d.: A close deadline test: 2 d. ago: An overdue deadline The expected (and traditional) behavior is this... Day-agenda (W48): Tuesday 29 November 2016 test: 2 d. ago: An overdue deadline test: In 1 d.: A close deadline test: In 7 d.: A more distant deadline Thanks, Matt