Another array sorting Problem
| From: | Webmaster | Date: | Sun, 17 Apr 2005 00:51:29 +0000 |
| Subject: | Another array sorting Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213223@lists.php.net to get a copy of this message | ||
Hi,
I have a multidimensional array looking linke this
Rowid title kat
123 nr1 3
442 nr2 2
547665 nr3 5
4532 nr4 3
3244 nr5 1
124 nr6 2
776 nr7 4
I now need to sort that array first by kat and second on rowid, so it would
throw out:
Nr5
Nr6
Nr2
Nr1
Nr4
Nr7
Nr3
I tried to achieve that goal with array_multiosort(), but all I got was a
one way (either rowid or kat) sorting.
Do you know some kind of way to achieve my goal?
Thabk you for helping.
Mirco Blitz