Posted by Webmaster on 04/17/05 03:51
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
[Back to original message]
|