Hi,
I want to sort the class array based on a element of the Class.
if
class A {
var $abc;
var $def;
..
}
and I new the Class object in an array format
for (....)
{
$a[] = new A(); // $abc, $def will store different values in different class object
}
I want to sort $a[] in the ascending order of $abc and descending order of $def, how to do it?