rmail-sort-by-labels

rmail-sort-by-labels is an interactive autoloaded Lisp function in `rmailsort.el'.


(rmail-sort-by-labels REVERSE LABELS)

Sort messages of current Rmail buffer by labels.
LABELS is a comma-separated list of labels. The order of these
labels specifies the order of messages: messages with the first
label come first, messages with the second label come second, and
so on. Messages that have none of these labels come last.
If prefix argument REVERSE is non-nil, sorts in reverse order.