Hmm. I'm not sure this is working.

If you add ":link" to the BEGIN blog, the sorting doesn't appear to kick
in. Bug, I expect.

If I remove ":link" I can see that some sorting is taking place. But it's
not what I expect.

With "?t" I am getting this sort order:

- (empty cell)
- "4:02"
- "1d 5:15"
- "1d 9:08"
- "14:19"

With "?T" I am getting this sort order:

- "14:19"
- "1d 9:08"
- "1d 5:15"
- (empty cell)

Note that this isn't the reverse order.



On 16 April 2014 18:26, Bastien <b...@gnu.org> 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