[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] sort headers by tags possible?
From: |
Kyle Meyer |
Subject: |
Re: [O] sort headers by tags possible? |
Date: |
Mon, 08 Apr 2019 17:58:09 -0400 |
Xebar Saram <address@hidden> writes:
> Hi all
>
> does anyone know if its possible to sort headers by tags?
> lets say i have this
>
> * header 1 . :3star:
> * header 2 . :4star:
> * header 3 . :3star:
>
> can i sort by tags (alphnumeric) so all 3star tags with start followed by
> 4star etc
Try calling org-sort and sorting on the TAGS property: `C-c ^ r` then
selecting "TAGS".
Offhand I don't know how that handles multiple tags, but, if that
doesn't do what you want, you can always supply a custom key and/or
comparison function to org-sort-entries (even when calling it
interactively).
--
Kyle