You are here: Sorting string-array without case... « PHP Programming Language « IT news, forums, messages
Sorting string-array without case...

Posted by jodleren on 10/13/48 12:00

Hi!

I user sort() but it gives me all uppercase items first.
Looking at http://ee.php.net/manual/en/function.sort.php I cannot find
what I need - tried natcasesort, but that was even more
interesting....

sort gives me (yes, I am aware of the spelling error)

Doc manager
Doc manger more
Tango
brugs

while natcasesort gives me

Doc manager
Tango
Doc manger more
brugs

and I want

brugs
Doc manager
Doc manger more
Tango

just as my alphabet is :-)
What should I user...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация