HOW TO SORT TEXT ALPHABETICALLY - pages

trying to find out how to sort text into alphabetical order. In word you had a sort button and you simply highlighted the text and it would sort. Can't find this here - need to sort an index into alphabetical order and its driving me mad!

imac, Mac OS X (10.5.8)

Posted on May 26, 2011 5:46 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 23, 2015 5:54 PM

Get the free WordService collection of Services from the OS X App Store. Many of us use it. As part of its download, it installs services that provide shortcuts within Pages, and other applications. Select text to alphabetize in Pages, click the Pages menu > Services > WordService:Sort Ascending. In a second, your selected text is sorted in-place. Another service is capitalize intial word of sentences. Also very handy.


Once these services are installed, they are still not active for use in Pages, etc. Click the gear icon in your Dock to access System Preferences. Select the Keyboard preference panel, and the following in order: Shortcuts > Services. Scroll down in the right Services window until you see the WordService:Sort Lines Ascending. Check it to enable. Quit System Preferences. This sorting service is now available to you in Pages, TextEdit, Mail, etc.


If you click the Launchpad (rocket icon) in the left side of your Dock, you will find the WordService application icon. Click that, and then click its Help button. This will launch a PDF in Preview that lists all of the services and a brief description of each.

62 replies

Jan 7, 2012 2:22 AM in response to Cattus Thraex

One more time, your answer isn't accurate !

When it's correctly installed under Lion, Devon's Word Service behave flawlessly.

Select this piece of text in Pages v4.1 under 10.7.2

User uploaded file

Trigger the wanted service item

User uploaded file

And the tool which you described as "not active" achiev the wanted task !

User uploaded file


Yvan KOENIG (VALLAURIS, France) samedi 7 janvier 2012

iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2

Dec 21, 2013 5:31 PM in response to pickacardanycard

Since we're revived this thread, yet again, I'll update if for Pages '13.


Services aren't supported in Pages '13. Nor is Text to Table or Table to Text conversion.


The workflow now would be:


Select the paragraphs to be sorted and Copy.


Insert a 1-column Table and set to 1 column, no header row. Probably best to do this in a fresh document to not mess up any formatting in the original working document.


Select the first table cell and Paste.


Click the menu triangle over the table column and Sort.


Select the entire column and Copy.


Insert a Text Box and Paste and Match Style


Select and Copy the content of the Text Box.


Back in the original working document, where the text to be sorted should be still Selected, Paste and Match Style.


Wasn't that fun?


Jerry

Dec 22, 2013 1:45 PM in response to macflower70

To give you an idea how bad Pages v5 is, consider this.


I created an Apple Service item in Automator. Looks like the following. Can't get much simpler. Works in every text based application except Pages v5, which doesn't even show it as available. Changing selected text to selected rich text made no difference. Sort in this invocation follows the ascii collating sequence. If you want a sort by dictionary order, use sort -d.


User uploaded file

From selected text in TextEdit:


Before
After

Katmandu

dogfish

_23fixes

zylinder

abstract

Pages v5.0.1

12345

Atypical

_Sorted

Pages '09 v4.3

12345

Atypical

Katmandu

Pages '09 v4.3

Pages v5.0.1

_23fixes

_Sorted

abstract

dogfish

zylinder

Feb 17, 2014 12:49 PM in response to Contentedchap

Services are exactly that services available to all applications that have the Services menu.


They are really amazingly useful, but are just another brilliant Mac technology that Apple has left largely unexplained.


The additional problem since OSX 10.7 is that rather than just work when you install them, you have to select and check them to be working in the Services, management options.


To compound that, Mavericks has problems with at least some of the Services, particularly the new iWork apps. But then the new iWork apps seem to have problems with just about everything.


TextEdit has been relatively untouched/unharmed by the Mavericks programmers and retains most of what you would expect to work, including Services.


WordSevices has a remarkably long list of text functions, and is the one that includes sorting.


Peter


btw Don't blame us for the confusing naming of the iWork apps. They used to be bundled and named after the year they were released. Apple then split them up and renamed them after the release version which now is Pages v5, Keynote v6 and Numbers v3.


We occassionally call them as a group iWork '13, because there is no other name for the latest set.

Jan 7, 2012 1:40 AM in response to fruhulda

It may have been answered dozens of times, but that didn't help macflower 70 or myself to complete the task. Pages may not have the exact feature needed, but the workaround provided by JerroldGreen1 accomplished the same thing in about 30 seconds. If I'd followed fruhulda's advice, I'd have had to manually cut and paste each line myself, taking much longer and being very aggravating.


Therefore, I say that JerroldGreen1 sent the correct answer.

Worked for me! 😎

Jan 7, 2012 12:51 AM in response to OregonRebel

fruhulda sent the direct and simple (and correct) answer. The suggested workaround is quite complicated, but it presumably works. I am a Nisus user, where such a feature is simple + other features. I would suggest to download Nisus, test it and, perhaps, it is worth having it on your computer for a reasonable licence fee. Mellel also can do that in a simnple way, another wonderful word processor (waiting for v. 3). Etc.

Pages, on the other hand, has other features absent in Mellel or Nisus. Am also looking for the ideal word processor, it has not been created so far.

Jan 7, 2012 1:45 AM in response to Jerrold Green1

Jerrold wrote:


> In the Table Inspector, Table tab, Edit Rows and Columns section, Choose Sort Ascending.


Which applies the Unicode Collation Algorithm. It is strange that Apple on the one had promotes system level services and on the other does not document how the application level wires into the system level. Instead, the system level services are seen as an 'expert area' when these services would be better seen as common ground. While in OS X there is some UI for system level services, in iOS there is none. Not sure that is any solution.


/hh

Jan 7, 2012 2:02 AM in response to OregonRebel

OregonRebel wrote:


It may have been answered dozens of times, but that didn't help macflower 70 or myself to complete the task. Pages may not have the exact feature needed, but the workaround provided by JerroldGreen1 accomplished the same thing in about 30 seconds. If I'd followed fruhulda's advice, I'd have had to manually cut and paste each line myself, taking much longer and being very aggravating.


Therefore, I say that JerroldGreen1 sent the correct answer.

Worked for me! 😎

No, I never suggested copy and paste.😼

If you do a search for alphabetical and order or sorting you'll find quite a few answers, some with Jerrolds suggestion and also with the WordService one.

Jan 7, 2012 2:52 AM in response to Cattus Thraex

I have a negative reaction when you give wrong infos.

WordService behave flawlessly when installed correctly on a clean system.


The fact that it doesn't on yours just prove that something is wrong on yours.

I'm not in front of your machine (I have no info about it) but clearly something is wrong on it.

User uploaded file

Macintosh HD:Library:Services:WordService.service:


I wish to add that Lion was installed on a blank HD, not upon an existing 10.6.8 system and that I run the apps from the iWork package, not those from Mac App Store.


Don't describe a wrong behavior as a general one before checking that it really strike elsewhere.

Don't worry, I behaved like you in the past. Now, I try to be more cautious.

For instance, when I wrote about an annoying behaviour striking upon dates in my system, I didn't stated that the system was wrong. In fact, it was just corrupted on my machine.

A bit of cleaning and the standard behavior was back.


Yvan KOENIG (VALLAURIS, France) samedi 7 janvier 2012

iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

HOW TO SORT TEXT ALPHABETICALLY - pages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.