Function: gnus-topic-sort-topics

gnus-topic-sort-topics is an interactive and byte-compiled function defined in gnus-topic.el.gz.

Signature

(gnus-topic-sort-topics &optional TOPIC REVERSE)

Documentation

Sort topics in TOPIC alphabetically by topic name.

If REVERSE, reverse the sorting order.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-topic.el.gz
(defun gnus-topic-sort-topics (&optional topic reverse)
  "Sort topics in TOPIC alphabetically by topic name.
If REVERSE, reverse the sorting order."
  (interactive
   (list (gnus-completing-read "Sort topics in"
                               (mapcar #'car gnus-topic-alist) t
                               (gnus-current-topic))
	 current-prefix-arg)
   gnus-topic-mode)
  (let ((topic-topology (or (and topic (cdr (gnus-topic-find-topology topic)))
			    gnus-topic-topology)))
    (gnus-topic-sort-topics-1 topic-topology reverse)
    (gnus-topic-enter-dribble)
    (gnus-group-list-groups)
    (gnus-topic-goto-topic topic)))