sort an array by subarray?

From: Date: Sun, 15 Oct 2000 04:37:46 +0000
Subject: sort an array by subarray?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20211@lists.php.net to get a copy of this message
Does PHP have a function that sorts an array of sub-arrays by a key or value of the subarrays? Also is there a way to make user defined sorts so all the functions can be within a class? Making the cmp-function something like '$this->my_cmp' doesn't seem to work. :)

« previous php.general (#20211) next »