A Few Thoughts on Sorting Lines and Fields in Emacs

Emacs sorts alphabetically

sort-fold-case
select-lines
C-M-@

Accepts numeric argument

sort-lines
sort-fields
sort-numeric-fields

RaoĂșl
Maud
John
joe
Jody

Birthday List

%%(diary-date 05 20 t) Lynne Gwafranca      
%%(diary-date 04 29 t) Fay Daway
%%(diary-date 04 25 t) Gene Eva Convenshun
%%(diary-date 04 22 t) Greg Arias
%%(diary-date 03 27 t) Col Fays
%%(diary-date 02 28 t) Rod Knee
%%(diary-date 02 23 t) Percy Kewshun
%%(diary-date 02 17 t) Roy L. Commishun
%%(diary-date 02 15 t) Frank N. Stein
%%(diary-date 02 02 t) Rose Bush
%%(diary-date 01 23 t) Jack Aranda
%%(diary-date 01 18 t) Glad I. Oli
%%(diary-date 01 18 t) Cherry Blossom
%%(diary-date 01 12 t) Hugo First
%%(diary-date 01 09 t) Ty Ayelloribbin
%%(diary-date 01 08 t) Fran G. Pani

https://www.masteringemacs.org/article/sorting-text-line-field-regexp-emacs

Return to Home

Roy L. Commishun
Percy Kewshun
Rod Knee
Frank N. Stein
Col Fays
Greg Arias
Gene Eva Convenshun
Fay Daway
Lynne Gwafranca