[phplib] Sorting Cart-entries From: Jasper Veltman (jasper <email protected>)
Date: 02/19/01

Hello,

I've extended my Cart-class to hold some extra info on an article like
comments and the manufacturer's own productID. Now I want to show the
contents of the cart sorted on that productID instead of the 'normal' array
order. I've tried sort, asort and array_multisort, but all without result.
What is the right way to sort on a specific field of the Cart-array? A code
example would be nice. Thanks in advance!

Jasper Veltman

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>