From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Leyon" Subject: Suggestion for org-sort Date: Sat, 8 Dec 2007 16:11:59 -0500 Message-ID: <5ea706d0712081311g5c6b5ecbo58025240a54fcd97@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J16xv-0003wk-G0 for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 16:12:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J16xt-0003vg-Om for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 16:12:02 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J16xt-0003vd-G4 for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 16:12:01 -0500 Received: from wa-out-1112.google.com ([209.85.146.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J16xt-00017C-89 for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 16:12:01 -0500 Received: by wa-out-1112.google.com with SMTP id k34so2223688wah for ; Sat, 08 Dec 2007 13:11:59 -0800 (PST) Content-Disposition: inline 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 I ran into this behavior while sorting table lines but it may happen elsewhere too. In a nutshell, I'd like to alphabetical-sort (C-c ^ a) | alpha | | [[file:beta][beta]] | | gamma | into the order shown, but currently the "beta" line sorts less than "alpha". I can't claim it's a bug--the behavior is understandable--but perhaps the sort function can be enhanced to only look at the link description, if present.