emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinmacs <pinmacs@cas.cat>
To: emacs-orgmode@gnu.org
Subject: Re: insert a header and automatically a timestamp with date/time
Date: Sun, 2 Feb 2025 21:47:33 +0100	[thread overview]
Message-ID: <d81d8485-9eb5-433a-b289-376a2bb4a78d@cas.cat> (raw)
In-Reply-To: <87seoww1ws.fsf@mat.ucm.es>

On 2025-02-02 21:02, Uwe Brauer via General discussions about Org-mode. 
wrote:
> A last question though.
>
> Now if I want my headings look like
>
> * <2025-02-02 08:58> Second entry
>
> * <2025-02-02 08:53> First
>
> * <2025-02-02 08:56> third
>
>
>
> Is there any way to sort these heading with respect to the timestamps from oldes to newest?

I'm glad it works for you :)

You need a parent entry (see how I added example). From that parent 
entry, do M-x org-sort and select alphanumeric (a), and that sorts fine 
the timestamps; you will see that there are other ways to sort entries, 
the one I use today is scheduled (s).


* example

** <2025-02-02 08:53> First

** <2025-02-02 08:56> third

** <2025-02-02 08:58> Second entry



  reply	other threads:[~2025-02-02 20:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-01  7:55 insert a header and automatically a timestamp with date/time Uwe Brauer via General discussions about Org-mode.
2025-02-01 11:11 ` pinmacs via General discussions about Org-mode.
2025-02-01 17:43   ` Uwe Brauer via General discussions about Org-mode.
2025-02-01 21:04     ` Pedro
2025-02-02  7:38       ` Uwe Brauer via General discussions about Org-mode.
2025-02-02 12:03         ` pinmacs
2025-02-02 20:02           ` Uwe Brauer via General discussions about Org-mode.
2025-02-02 20:47             ` pinmacs [this message]
2025-02-03 18:07               ` Uwe Brauer via General discussions about Org-mode.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d81d8485-9eb5-433a-b289-376a2bb4a78d@cas.cat \
    --to=pinmacs@cas.cat \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).