note 60573 added to function.sort
| From: | john dot dutcher at highmark dot com | Date: | Wed, 11 Jan 2006 12:58:21 +0000 |
| Subject: | note 60573 added to function.sort | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101547@lists.php.net to get a copy of this message | ||
Regarding the array sorting of names by 'whatever' ....
That post addresses a nearly identical issue with sorting that I also have.
I just wanted to inquire though.........wouldn't the building of the 'sortname'
value require that the last name and first name be padded to their full size as they are placed into
the
'sortname' field in order to get proper sorting/alignment ?
Otherwise would one have .......
dutcherjohnf (Dutcher, John F)
dutchrogera (Dutch, Roger A)
dutmauriceh (Dut, Maurice H)
Instead of:
dut maurice h
dutch roger a
dutcher john f
John D.
----
Manual Page -- http://www.php.net/manual/en/function.sort.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60573
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60573&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60573&report=yes
Search -- http://master.php.net/manage/user-notes.php