We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

How does one sort alphabetically by paragraph? [closed]

asked 2016-03-14 22:39:20 +0200

kathyathome gravatar image

updated 2020-08-05 00:30:28 +0200

Alex Kemp gravatar image

i.e. a list of addresses with addressee's last name first, each addressee separated by a blank line (paragraph)? I am able to use the tools menu and choose sort, enable "key 1" (although I don't know what that means), to sort selected text of a list of items, one item per line, but I can't figure out how to sort the first word of selected paragraphs.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by kathyathome
close date 2016-03-15 17:19:06.393531

1 Answer

Sort by » oldest newest most voted

answered 2016-03-14 23:32:49 +0200

Regina gravatar image

I do not see your problem. You have to mark the whole section and use menu Tools > Sort, the defaults should be fine. Only if one address covers several paragraphs, sorting this way is not possible and we have to look for another solution.

But an additional remark:
Separating by a blank line is never good. Here you will end up with a lot of blank lines before the lines with the addresses. Remove the blank lines. Then make the spacing between the addresses by assigning a proper paragraph style in which you set the distance in the style property "Spacing" in property dialog tab "Indents & Spacing". You can make a new style or alter an existing one.

If you need to remove a lot of empty lines independent from sorting, you find a tool in Tools > AutoCorrect > AutoCorrect Options; there in tab Options the setting "Remove blank paragraphs". After setting it mark the whole text area having the empty lines and use Tools > AutoCorrect > Apply.

edit flag offensive delete link more


So are you suggesting that I not make a new paragraph by returning twice after the last line of my paragraph? That's what I mean by "blank line," because returning twice of course produces a blank line. Each of my addresses is 3 lines long, returning once after each line except the last line, after which I return twice. That isn't a good idea? If I don't return twice how does the program know I want to start a new address and not just add a 4th line to the address I'm working on?

kathyathome gravatar imagekathyathome ( 2016-03-15 02:14:12 +0200 )edit

@kathyathome, instead of ENTER (new paragraph) for each line, use SHIFT+ENTER (line break) and ENTER to separate addresses.

oweng gravatar imageoweng ( 2016-03-15 10:25:46 +0200 )edit

oweng - thank you, that did it. I also had to select the text and go to tools menu, spacing, increase paragraph spacing to get space between the address. I increased the paragraph spacing twice in order to get what looks like a single blank line between each address. They are all alphabetized now. I appreciate your help.

kathyathome gravatar imagekathyathome ( 2016-03-15 17:17:00 +0200 )edit

Question Tools

1 follower


Asked: 2016-03-14 22:39:20 +0200

Seen: 1,278 times

Last updated: Mar 14 '16