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
Question marked as Top-ranking reply

Sep 23, 2015 5:54 PM in response to wildman66

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.

Sep 23, 2015 4:24 PM in response to macflower70

I'm a skilled PC person but only 3 months on the Mac. I do find instances of Mac being more confusing and less fully-featured in the "Office" realm. The Operating system and ease of use is overall superb, but there are some gaps. So I skimmed through a bunch of the replies, needing also to alphabetize a list in pages, and it all looked complicated and confusing. Then I did what I often do - went to the web. In 2 seconds I had this website that alphabetizes a list of text for you - http://alphabetizer.flap.tv/ Copy text from pages. Paste into window. Push button. Badda-bing. copy text in window. paste into pages. 15 seconds. Let's hope I didn't catch anything. I guess .tv is probably not the Republic of Tuva.

Apr 22, 2012 5:25 PM in response to Denel

It's called a... Service!


Each app has its main app menu title, just to the right of the little Apple Logo in the upper left corner of the screen. Under this menu there is always a choice called "Services". Services are add-ons, mostly third party. I avoid third party software for the most part, but this one is free, behaves well and does amazing things. It's a little difficult to get it in the right folder after downloading and a little confusing to get set up. Then you forget about it and have a bunch of extra text functions in most of your apps.


Here's the drill:


Download from:

http://www.devontechnologies.com/products/freeware.html


Move "WordService.service" to Macintosh HD > Library > Services

Go to System Preferences > Hardware > Keyboard Shortcuts > Services and check the box for ones that you want, like here:

User uploaded file


Jerry

Dec 24, 2013 3:57 PM in response to VikingOSX

The following code works fine as an Automator Service to sort ascending, replacing the highlighted list of items in your document. This includes Pages ’09 v4.3, TextEdit, and others, but not Pages v5. The latter requires you select your list of items, and from the Pages > Services menu, you choose “New TextEdit Window Containing Selection.” Select the list again in TextEdit and use this Service to sort, then paste back into Pages v5.


Double-click on the following images to expand.


The code:

User uploaded file


and the Automator Service:


User uploaded file

Jan 7, 2012 4:15 AM in response to Cattus Thraex

I solved MY issues: I had two versions of WordService.service, one outdated, after removing it, all is flawless.

so, the best and simplest solution for sort (ascending/descending) in Pages or any word processor which complies with Cocoa routines is WordService. It also allows a lot of other services.


My apologies again for intruding into your discussion.

Apr 22, 2012 4:38 PM in response to Denel

Denel,


That's how this is supposed to work. 🙂


You can search while those who wrote the answers earlier sleep, or watch a hockey game.


Glad you found your answer. There's an easier way to sort, but it takes some time to set it up. If you dowload, install and activate Devon Wordservice, you will have sorting and many other handy utilities at your disposal.


Jerry

Feb 17, 2014 12:29 PM in response to macflower70

Hello All,


I must say a big thank you to all who have commented following the initial question by macflower70. I am completely new to the Mac world and am having fun but what follows may be nothing but nonsence to all you seasoned pros. Eve this addition may not turn out as expected as it's also a first.


I initially jumped into the discussion partway through and subsequently installed the WordService.service software, putting it into the Library > Service folder (thankfully having previously found out how to get to the Library folder) - thanks Jerry for nice clear instructions. I then spent some time trying to work out how to use the downloaded additions - sort lines ascending and sort lines descending - to sort a few lines of text in Pages, all to no avail.


Just in passing it seems that you pros refer to the version of Pages either by the year when it was current (Pages '09 or Pages '13) or by its version (v. 4.3 or v. 5) - you do love confusing the novice! I'll leave VikingOSX and his screen shots for another day! Some of the discussion went completely over my head which also adds confusion and other questions arise - for example, where do I put the folder with the Read Me file, etc., which downloads with the WordService.service application?


I digress: I then tried following the Dec 21, 2013 5:31 PM offering from Jerry - an update for Pages '13. I eventually arrived at completeing the sort both with or without WordService.service installed and along the way found that removing the WordService.service software removed the sort lines ascending and sort lines descending options from the Service list in System Preferences > Keyboard > Shortcuts > Services.


At some time in the past I came across a discussion that allowed me to add "New TextEdit Window Containing Selection" as a Service - this Service system really is a mind-bending structure for the uninitiated! Having re-installed the WordService.service software and without following Jerry's update method I used the New TextEdit Window Containing Selection service to put the text into a new window, selected that window's text, selected Services > Sort Lines Ascending (which was now available, though not available for the Pages document). The text sorted and I was then able to copy and paste it back into the original document.


Have I completely missed the point by doing it this way? It seemed a lot quicker and easier than trying to put the text into a headerless, single column table or is it likely that I actually did the table method in a convoluted way?


Just as an added point, the WordService.service Read Me suggests that having installed the software one should log off and then logon. I'm afraid it's something I omitted to do and all seems to work as I would expect it so to do.


Please feel free to yell at me that I've completely wasted time because I'm barking up the wrong tree!


Regards to all,


Contentedchap

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.