Variable: ibuffer-default-sorting-mode

ibuffer-default-sorting-mode is a customizable variable defined in ibuffer.el.gz.

Value

recency

Documentation

The criteria by which to sort the buffers.

Note that this variable is local to each Ibuffer buffer. Thus, you can have multiple Ibuffer buffers open, each with a different sorted view of the buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/ibuffer.el.gz
(defcustom ibuffer-default-sorting-mode 'recency
  "The criteria by which to sort the buffers.

Note that this variable is local to each Ibuffer buffer.  Thus, you
can have multiple Ibuffer buffers open, each with a different sorted
view of the buffers."
  :type '(choice (const :tag "Last view time" :value recency)
		 (const :tag "Lexicographic" :value alphabetic)
		 (const :tag "Buffer size" :value size)
		 (const :tag "File name" :value filename/process)
                 (const :tag "Major mode" :value major-mode)))