Jon Gale wrote:
On 9/20/07, *Ken Snyder* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:


    Per the example at http://php.net/array_multisort#id2578669


Hmm...not sure how I've gone through life thus far without having used array_multisort. Pretty handy I must say.

Jon
Probably because it requires a wrapper function to be a one-stop utility. I'd suggest a function with the following API:

array_order_by($events, array('date'=>SORT_ASC), SORT_REGULAR);

- Ken

_______________________________________________

UPHPU mailing list
UPHPU@uphpu.org
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to