note 88370 deleted from function.sort by danbrown
| From: | danbrown@php.net | Date: | Wed, 21 Jan 2009 21:36:05 +0000 |
| Subject: | note 88370 deleted from function.sort by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149628@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
shailu_agrawal's comment about SORT_STRING and SORT_REGULAR is not correct. Both applied to
array('B', 'a' , 'A') give: A, B, a.
natsort (and SORT_LOCALE_STRING in the default locale) gives A, B, a while SORT_NUMERIC and
natcasesort give A, a, B (but with original keys preserved in in the natural versions).
None give a , A , B