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, -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php