[PATCH] Add SORT_NATURAL and SORT_CASE support to array_multisort
| From: | Arpad Ray | Date: | Thu, 28 Jul 2011 22:34:08 +0000 |
| Subject: | [PATCH] Add SORT_NATURAL and SORT_CASE support to array_multisort | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-54238@lists.php.net to get a copy of this message | ||
Hi,
https://bugs.php.net/patch-display.php?bug_id=55158&patch=trunk-multisort-natural&revision=latest
adds the flags SORT_NATURAL and SORT_CASE to array_multisort. The
SORT_NATURAL flag is well explained by the request the patch is
attached to: https://bugs.php.net/bug.php?id=55158
SORT_CASE can be combined with SORT_STRING or SORT_NATURAL for a
case-insensitive sort.
I think it's a useful feature with no BC issues, and I'd appreciate
any feedback.
Regards,
Arpad