Function: todo-sort-categories-alphabetically-or-numerically

todo-sort-categories-alphabetically-or-numerically is an interactive and byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-sort-categories-alphabetically-or-numerically)

Documentation

Sort table of categories alphabetically or numerically.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-sort-categories-alphabetically-or-numerically ()
  "Sort table of categories alphabetically or numerically."
  (interactive)
  (save-excursion
    (goto-char (point-min))
    (forward-line 2)
    (if (member 'alpha todo-descending-counts)
	(progn
	  (todo-update-categories-display nil)
	  (setq todo-descending-counts
		(delete 'alpha todo-descending-counts)))
      (todo-update-categories-display 'alpha))))