From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noah Slater Subject: Re: How can you sort an Org clock table? Date: Mon, 31 Mar 2014 00:25:02 +0200 Message-ID: References: <87bnwnl6qs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec52c6223ed54b304f5da67cf Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUOA7-0001Se-Td for emacs-orgmode@gnu.org; Sun, 30 Mar 2014 18:25:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUOA3-0002sD-5D for emacs-orgmode@gnu.org; Sun, 30 Mar 2014 18:25:07 -0400 Received: from mail-yk0-x229.google.com ([2607:f8b0:4002:c07::229]:51704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUOA2-0002rR-V6 for emacs-orgmode@gnu.org; Sun, 30 Mar 2014 18:25:03 -0400 Received: by mail-yk0-f169.google.com with SMTP id 142so5558514ykq.28 for ; Sun, 30 Mar 2014 15:25:02 -0700 (PDT) In-Reply-To: <87bnwnl6qs.fsf@gmail.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --bcaec52c6223ed54b304f5da67cf Content-Type: text/plain; charset=ISO-8859-1 Yeah, tried that. Doesn't work! :( On 30 March 2014 23:24, Nick Dokos wrote: > Noah Slater writes: > > > I posted a question on StackOverflow: > > > > > http://stackoverflow.com/questions/22749704/how-can-you-sort-an-org-clock-table > > > > Summary is: how do I sort an clock table by the % column? > > > > Is there anything "out there" I can use to get this working? If not, > > how complex a job would it be to write something that did this? > > > > If you point me in the right direction, I'll see what I can come up with. > > > > Never tried on a clock table, but the following works on a generic > table, so I assume that it will work on a clock table too: put point > in the column by which you want to sort the table (in the body of the > table, not in the header) and say M-x org-sort RET n (I assume you > want numeric sorting, but org-sort provides several kinds). org-sort > is normally bound to C-c ^ too, so > > C-c ^ n > > should be all that's needed. > -- > Nick > > > --bcaec52c6223ed54b304f5da67cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yeah, tried that. Doesn't work! :(


On 30 March 2014 23:24, Nic= k Dokos <ndokos@gmail.com> wrote:
Noah= Slater <nslater@tumbolia.org> writes:

> I posted a question on StackOverflow:
>
>
http://stackoverflow.com/questions/= 22749704/how-can-you-sort-an-org-clock-table
>
> Summary is: how do I sort an clock table by the % column?
>
> Is there anything "out there" I can use to get this working?= If not,
> how complex a job would it be to write something that did this?
>
> If you point me in the right direction, I'll see what I can come u= p with.
>

Never tried on a clock table, but the following works on a gene= ric
table, so I assume that it will work on a clock table too: put point
in the column by which you want to sort the table (in the body of the
table, not in the header) and say M-x org-sort RET n (I assume you
want numeric sorting, but org-sort provides several kinds). org-sort
is normally bound to C-c ^ too, so

=A0 =A0 C-c ^ n

should be all that's needed.
--
Nick



--bcaec52c6223ed54b304f5da67cf--