Function: minibuffer--sort-by-length-alpha

minibuffer--sort-by-length-alpha is a byte-compiled function defined in minibuffer.el.gz.

Signature

(minibuffer--sort-by-length-alpha ELEMS)

Documentation

Sort ELEMS first by length, then alphabetically.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun minibuffer--sort-by-length-alpha (elems)
  "Sort ELEMS first by length, then alphabetically."
  (sort elems (lambda (c1 c2)
                (or (< (length c1) (length c2))
                    (and (= (length c1) (length c2))
                         (string< c1 c2))))))