Function: tabulated-list-col-sort
tabulated-list-col-sort is an interactive and byte-compiled function
defined in tabulated-list.el.gz.
Signature
(tabulated-list-col-sort &optional E)
Documentation
Sort Tabulated List entries by the column of the mouse click E.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/tabulated-list.el.gz
(defun tabulated-list-col-sort (&optional e)
"Sort Tabulated List entries by the column of the mouse click E."
(interactive "e")
(let* ((pos (event-start e))
(obj (posn-object pos)))
(with-current-buffer (window-buffer (posn-window pos))
(tabulated-list--sort-by-column-name
(get-text-property (if obj (cdr obj) (posn-point pos))
'tabulated-list-column-name
(car obj))))))