note 60488 deleted from function.usort by nlopess
| From: | nlopess@php.net | Date: | Sun, 08 Jan 2006 21:55:17 +0000 |
| Subject: | note 60488 deleted from function.usort by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-101424@lists.php.net to get a copy of this message | ||
Note Submitter: johny b
----
I have a table of data which is being sorted frequently and I would like to remember the sort order
from previous sorts, basically using them as secondary keys... alas as of 4.06 it seems the usort
function does not return equal elements in a defined order.
Does anyone know of an alternative to usort that provides a defined order all array elements? Note
that I still need all of the functionality provided with usort. Is there a flag to force usort to
return elements in a defined order?