emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: orgmode <emacs-orgmode@gnu.org>
Subject: org-sort random
Date: Mon, 22 Nov 2021 07:40:35 +0530	[thread overview]
Message-ID: <20211122021035.dwa7thm7gmhwoagx@dalkati> (raw)

I am trying to sort a sub-tree of headings randomly. But `C-c ^ f random RET` asks for a "function for comparing keys". What am I supposed to do?

Reference: https://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00089.html

I have also tried the custom function proposed in the previous mail in
this thread (which was also proposed on another thread) but I face the
same problem with this as well.

Thanks for help.

Vikas


             reply	other threads:[~2021-11-22  2:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22  2:10 Vikas Rawal [this message]
2021-11-22  3:12 ` org-sort random Kyle Meyer
     [not found]   ` <CAFVt51+4Y9njvdS-UZFVWXjr=M933QpUpDrGhD0GcHMmpQYhPw@mail.gmail.com>
2021-11-23  5:08     ` Kyle Meyer
2021-11-23 15:14       ` Vikas Rawal
2021-11-24  1:52         ` Samuel Wales
2021-11-24  1:55           ` Samuel Wales

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=20211122021035.dwa7thm7gmhwoagx@dalkati \
    --to=vikaslists@agrarianresearch.org \
    --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).