alphabetizing php array in WordPress ?

Subject: alphabetizing php array in WordPress ?
From: "Monique Semp" <monique -dot- semp -at- earthlink -dot- net>
To: "TechWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Fri, 8 Jun 2012 08:28:38 -0700

Hello, writers,

Not a writing question per se, but from recent discussions I know that there are quite a few WordPress folks on this list, so perhaps someone can help.

Iâm working on my website portfolio (yes, youâve been hearing about it for some time, but itâs almost done :-), and have tagged all my doc pages, and have a tag cloud that displays most wonderfully (using the Ultimate Tag Cloud plugin). And I also have manually coded a sidebar widget so that when you click a tag and get a page of matching doc posts, the list of all the tags in the matching posts is also displayed.

I got the looping to work (so that I get all the doc postsâ tags), got rid of the duplicates, but for some reason cannot sort the resultant array of tags into alphabetical order. It seems a simple matter to use the sort() php function, but it just does nothing... No errors are generated, but the array remains ordered doc-by-doc, minus the duplicates.

Any suggestions?


Create and publish documentation through multiple channels with Doc-To-Help. Choose your authoring formats and get any output you may need.

Try Doc-To-Help, now with MS SharePoint integration, free for 30-days.


You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at

Looking for the archived Techwr-l email discussions? Search our public email archives @


Previous by Author: ePortfolio - open links (docs) in new or same tab ?
Next by Author: Re: alphabetizing php array in WordPress ?
Previous by Thread: Technical Communications Recap for June 8, 2012
Next by Thread: Re: alphabetizing php array in WordPress ?

What this post helpful? Share it with friends and colleagues:

Sponsored Ads