sorting a multimensional array

From: Date: Wed, 19 Feb 2003 08:57:11 +0000
Subject: sorting a multimensional array
Groups: php.db 
Request: Send a blank email to php-db+get-25752@lists.php.net to get a copy of this message
hello, i've got the next array: Array ( [testsubnet] => Array ( [2690910720] => 255.255.255.0 ) [GLN-subnetsirangevoorgedelegeerddomein] => Array ( [2886735616] => 255.255.255.0 ) [testsubnet2] => Array ( [1209360384] => 255.255.224.0 ) [lpd (tpg-nl1)] => Array ( [175964160] => 255.255.0.0 ) } I need to sort it by name or by the big nummer between [] to sort it by name i do this: ksort($ARRAYNAME); and it works fine, but how do I sort by the big number between [] ... I really don't get it... thanks for the help.. Mark,

« previous php.db (#25752) next »