Add and sort options to emacs