From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Sorting a column of inactive dates Date: Fri, 6 Feb 2009 16:53:38 +0100 Message-ID: References: <20090203000630.GX28304@hplhtang1> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVT1T-0003IJ-V7 for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 10:53:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVT1S-0003H7-Vi for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 10:53:43 -0500 Received: from [199.232.76.173] (port=42751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVT1S-0003Gu-Hi for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 10:53:42 -0500 Received: from ug-out-1314.google.com ([66.249.92.171]:32980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVT1S-0003yS-3M for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 10:53:42 -0500 Received: by ug-out-1314.google.com with SMTP id b39so44997ugd.17 for ; Fri, 06 Feb 2009 07:53:41 -0800 (PST) In-Reply-To: <20090203000630.GX28304@hplhtang1> 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: Hsiu-Khuern Tang Cc: "emacs-orgmode@gnu.org" 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. - Carsten