From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Re: Sorting a column of inactive dates Date: Fri, 6 Feb 2009 10:37:57 -0800 Message-ID: <20090206183757.GX28304@hplhtang1> References: <20090203000630.GX28304@hplhtang1> Reply-To: Hsiu-Khuern Tang Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVVc8-00006m-LG for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 13:39:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVVc4-00005m-5x for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 13:39:42 -0500 Received: from [199.232.76.173] (port=53728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVVc3-00005i-Jq for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 13:39:39 -0500 Received: from madara.hpl.hp.com ([192.6.19.124]:50056) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVVc3-0001bV-5l for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 13:39:39 -0500 Received: from mailhub-pa1.hpl.hp.com (mailhub-pa1.hpl.hp.com [15.25.115.25]) by madara.hpl.hp.com (8.14.3/8.14.1/HPL-PA Relay) with ESMTP id n16Ic0WR029556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 10:38:00 -0800 (PST) Received: from hplhtang1.hpl.hp.com (hplhtang1.hpl.hp.com [15.4.92.205]) by mailhub-pa1.hpl.hp.com (8.14.3/8.14.3/HPL-PA Hub) with ESMTP id n16Ic0IB026497 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 10:38:00 -0800 Received: from htang by hplhtang1.hpl.hp.com with local (Exim 4.62) (envelope-from ) id 1LVVaP-0006qD-Pj for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 10:37:57 -0800 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" * On Fri 03:53PM +0000, 06 Feb 2009, Carsten Dominik (dominik@science.uva.nl) wrote: > > On Feb 3, 2009, at 1:06 AM, Hsiu-Khuern Tang wrote: > > > Hi all, > > > > I have a table where one column consists of inactive dates, such as > > this: > > > > | Date | OK? | > > |------------------+-----| > > | [2009-01-30 Fri] | x | > > | [2009-01-27 Tue] | x | > > | [2009-01-28 Wed] | x | > > > > I can't sort the table by that column. If I change the dates to > > active, then > > sorting (by time) works fine. Is this behavior intentional? > > > Yes, intentional, because the same routine also does sorting of > entries and should prefer active time stamps. However, I realize that > we can still look for an inactive time stamp when no active one can be > found. I just pushed this change. Thank you for this change; it works great! -- Best, Hsiu-Khuern.