From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chaitanya Krishna Ande Subject: Sorting CLOCK entries Date: Fri, 27 Feb 2015 16:40:26 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRNnp-00025a-01 for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 11:30:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRNnj-0001WK-6S for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 11:30:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:52870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRNnj-0001Uf-0N for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 11:30:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YRNng-0000JZ-L1 for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 17:30:04 +0100 Received: from winnie.phys.tue.nl ([131.155.34.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 17:30:04 +0100 Received: from icymist by winnie.phys.tue.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 17:30:04 +0100 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: emacs-orgmode@gnu.org Hello there, I was wondering if there is a way to sort clock entries like in the clock entries below. 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. 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-12-02 Tue 11:50]--[2014-12-02 Tue 12:01] => 0:11 CLOCK: [2014-12-01 Mon 17:32]--[2014-12-01 Mon 17:57] => 0:25 CLOCK: [2014-10-27 Mon 17:10]--[2014-10-27 Mon 17:47] => 0:37 CLOCK: [2014-10-24 Fri 11:17]--[2014-10-24 Fri 11:24] => 0:07 CLOCK: [2014-10-30 Thu 11:22]--[2014-10-30 Thu 11:43] => 0:21 CLOCK: [2014-10-29 Wed 13:22]--[2014-10-29 Wed 13:37] => 0:15 CLOCK: [2014-10-29 Wed 12:05]--[2014-10-29 Wed 12:10] => 0:05 CLOCK: [2014-10-21 Tue 20:13]--[2014-10-21 Tue 20:31] => 0:18 CLOCK: [2014-10-21 Tue 19:03]--[2014-10-21 Tue 19:45] => 0:42 CLOCK: [2014-10-21 Tue 18:27]--[2014-10-21 Tue 18:32] => 0:05 CLOCK: [2014-10-21 Tue 11:33]--[2014-10-21 Tue 11:34] => 0:01 CLOCK: [2014-10-20 Mon 15:05]--[2014-10-20 Mon 15:37] => 0:32 CLOCK: [2014-10-20 Mon 11:55]--[2014-10-20 Mon 12:01] => 0:06 CLOCK: [2014-10-20 Mon 11:07]--[2014-10-20 Mon 11:53] => 0:46 CLOCK: [2014-10-17 Fri 15:43]--[2014-10-17 Fri 15:57] => 0:14 CLOCK: [2014-10-15 Wed 13:12]--[2014-10-15 Wed 13:28] => 0:16 CLOCK: [2014-10-15 Wed 11:44]--[2014-10-15 Wed 11:59] => 0:15 CLOCK: [2014-10-15 Wed 10:48]--[2014-10-15 Wed 10:53] => 0:05 CLOCK: [2014-10-13 Mon 18:23]--[2014-10-13 Mon 19:10] => 0:47 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 Best regards, Chai