alpha-sort list where each entry contains more than one line

J

Jean Chicago

How do I alpha-sort a list where each entry contains more than one line? For
example, a person's name (line 1) and his organizational affiliation (line 2)?

Each technique I try sorts each and every line, so the person gets separated
from his organization and the alpha-list is meaningless.
 
J

Jerry

The easiest workaround is to use Ctrl-H (Find and Replace) to convert your
multi-pagraph entries into single paragraphs. Assuming that each entry has
certain similar line headings (Name, Organization, Address, etc.), you could
search for "^pOrganization" and replace all occurrences with
"^lOrganization." (^p is the search string for a paragraph marker, and ^l is
the search string for a line break.) Repeat that process with each line of
the entry until each entry consists of a single paragraph. Then the sort
should be easy.

Another way would be to put the data in a table so that each entry is a line
in the table.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top