reversing natsort

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

reversing natsort

Post by hame22 »

Hi all

I have an array which I have sorted using natsort order, however I need it sorted in the reverse order that the natsort() produces, is there a reverse version of natsort() or is there another way of doing this?

Thanks in advance
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: reversing natsort

Post by onion2k »

Do the sort and then use array_reverse() ?
Post Reply