Carsten Dominik <[email protected]> writes:
> I would think that
>
> checked - transitionary - unchecked - no box
>
> is a pretty decent default.
+1
> (defun org-sort-list-by-checkbox-type ()
> "Sort list items according to Checkbox state."
> (interactive)
> (org-sort-list
> nil ?f
> (lambda ()
> (if (looking-at org-list-full-item-re)
> (cdr (assoc (match-string 3)
> '(("[X]" . 1) ("[-]" . 2) ("[ ]" . 3) (nil . 4))))
> 4))))
Thanks -- I added this on Worg's hacks:
http://orgmode.org/worg/org-hacks.html#sec-1-2-9
--
Bastien