How to (Is it possible) Sort Lists (numbered, bullet, etc.)

Everything related to our flagship word processor.
Post Reply
kivancmuslu
Posts: 22
Joined: 2011-05-15 00:49:52

How to (Is it possible) Sort Lists (numbered, bullet, etc.)

Post by kivancmuslu »

Hi all,

This question might also be related with Macros, etc.
Is it possible to list the content of the list alphabetically in NWP? If not, can it be done with a macro? If yes, can someone provide me one (if it is not very hard)?

Thanks,

Example:
1. Element
2. An element
3. List element

===> Magic sort (after selecting 3 lines)
1. An element
2. Element
3. List element
~ Kivanc Muslu

User avatar
phspaelti
Posts: 1095
Joined: 2007-02-07 00:58:12
Location: Japan

Re: How to (Is it possible) Sort Lists (numbered, bullet, et

Post by phspaelti »

If the list is numbered using a list style (as opposed to with numbers written by hand), then "Sort" will indeed sort the list alphabetically. (And automatically renumber them).

If the numbers are written by hand you will first have to remove them. Find/Replace can do this:
  1. Open Find
  2. Set the find mode to PowerFind (or PowerFind Pro)
  3. Use the gear menu next to the Find box to make the following find expression

    Code: Select all

    [Start of Paragraph][Any Digit][1+].[Space or Tab]
  4. Leave the Replace box empty
  5. Do Replace All (you can limit this to the selection if desired using the "Where" pull down menu)
philip

kivancmuslu
Posts: 22
Joined: 2011-05-15 00:49:52

Re: How to (Is it possible) Sort Lists (numbered, bullet, et

Post by kivancmuslu »

Hi phspaelti,

I haven't seen 'Sort paragraphs' menu. The list was a real list and this menu did what I wanted exactly. Very cool and handy feature.

Thanks for the fast reply!
~ Kivanc Muslu

Post Reply