Sorting arrays
Posted: Fri Jul 23, 2010 1:56 am
Hi all,
I remember from java, that an array containing objects with the method compareTo implemented to define a sequence order, could be sorted by the standard array sorting function. I've been looking for a similar functionality/method in PHP, and was wondering if anyone here knows anything?
Cheers,
Thomas
I remember from java, that an array containing objects with the method compareTo implemented to define a sequence order, could be sorted by the standard array sorting function. I've been looking for a similar functionality/method in PHP, and was wondering if anyone here knows anything?
Cheers,
Thomas