There is a file which has the following structure:
L. feritas
E. ferity
L. ars
E. art
L. solitudo
E. solitude
L. celeritas
E. celerity
Each line is a field, and a record spans multiple lines, comprising an L. field, an E. field, and a blank line. How can I sort the records by the fields that are tagged L., keeping the multiple-line records intact?
L. ars
E. art
L. celeritas
E. celerity
L. feritas
E. ferity
L. solitudo
E. solitude