emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How can you sort an Org clock table?


From: Noah Slater
Subject: Re: [O] How can you sort an Org clock table?
Date: Wed, 16 Apr 2014 19:01:45 +0200

Thanks Bastien! I'll look into this and report back.


On 16 April 2014 18:26, Bastien <address@hidden> wrote:
Hi Noah,

from master, you can now use a :sort parameter in clocktable
to sort a column.  For example:

#+BEGIN: clocktable :maxlevel 2 :scope file :sort (2 . ?t)
#+CAPTION: Clock summary at [2014-04-16 mer. 18:12]
| Headline     |   Time |
|--------------+--------|
| *Total time* | *0:34* |
|--------------+--------|
| STRT abc     |   0:15 |
| STRT def     |   0:19 |
#+END:

The (2 . ?t) means: "sort the second column by time."

Let me know if it works for you,

--
 Bastien


reply via email to

[Prev in Thread] Current Thread [Next in Thread]