sorting an array of objects
| From: | L Melville | Date: | Wed, 24 Oct 2001 09:43:53 +0000 |
| Subject: | sorting an array of objects | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72076@lists.php.net to get a copy of this message | ||
Hi,
Is it possible to sort a class array using array multisort, I have two items
in each class that I wish to sort by, one is a text and the other is the
first item in an array within within each class. i.e.;-
$class[$index]->text;
$class[$index]->array[0];
how can I do this?
thanks in advance
lee