Chaitanya Krishna Ande on 2015-02-27 16:40:
I was wondering if there is a way to sort clock entries like in the
clock entries below.

AFAIK org-mode doesn't have any dedicated support for this, …

The table is sorted in reverse chronological order except for the last
two. I was wondering if there is some to sort these entries so that the
last two entries sit in the right place.

… and I'm not sure where this situation comes from (other than manual editing),

CLOCK: [2015-01-21 Wed 16:37]--[2015-01-21 Wed 16:53] =>  0:16
CLOCK: [2014-12-02 Tue 18:29]--[2014-12-02 Tue 18:57] =>  0:28
…
CLOCK: [2014-10-10 Fri 17:52]--[2014-10-10 Fri 18:55] =>  1:03
CLOCK: [2014-09-10 Wed 14:29]--[2014-09-10 Wed 16:29] =>  2:00
CLOCK: [2014-11-12 Wed 08:34]--[2014-11-12 Wed 08:52] =>  0:18
CLOCK: [2014-11-04 Tue 12:58]--[2014-11-04 Tue 13:28] =>  0:30

… but a manual fix for this particular case is as easy as marking the affected range of lines and saying C-u M-x sort-lines.

Cheers,

Christoph

--
Christoph Lange, Enterprise Information Systems Department
Applied Computer Science @ University of Bonn; Fraunhofer IAIS
http://langec.wordpress.com/about, Skype duke4701

→ Semantic Publishing Challenge: Assessing the Quality of Scientific Output
ESWC, 31 May–4 June 2014, Portorož, Slovenia. https://tinyurl.com/SPChallenge15
  Submission deadline 27 March (abstracts: 20 March)

Reply via email to