Function: gnus-group-sort-groups
gnus-group-sort-groups is an interactive and byte-compiled function
defined in gnus-group.el.gz.
Signature
(gnus-group-sort-groups FUNC &optional REVERSE)
Documentation
Sort the group buffer according to FUNC.
When used interactively, the sorting function used will be
determined by the gnus-group-sort-function variable.
If REVERSE (the prefix), reverse the sorting order.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
;; Group sorting commands
;; Suggested by Joe Hildebrand <hildjj@idaho.fuentez.com>.
(defun gnus-group-sort-groups (func &optional reverse)
"Sort the group buffer according to FUNC.
When used interactively, the sorting function used will be
determined by the `gnus-group-sort-function' variable.
If REVERSE (the prefix), reverse the sorting order."
(interactive (list gnus-group-sort-function current-prefix-arg)
gnus-group-mode)
(funcall gnus-group-sort-alist-function
(gnus-make-sort-function func) reverse)
(gnus-group-unmark-all-groups)
;; Redisplay all groups according to the newly-sorted order of
;; `gnus-group-list'.
(gnus-group-list-groups)
(gnus-dribble-touch))