Re: Sorting Arrays

From: Date: Fri, 22 Aug 2008 20:33:38 +0000
Subject: Re: Sorting Arrays
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-278547@lists.php.net to get a copy of this message
Robert Cummings wrote: > On Fri, 2008-08-22 at 21:04 +0100, Ashley Sheridan wrote: > >> Yeah, a bubble sorting algorithm should fix it, as it essentially only >> a very simple sort required. >> > > Why use bubble sort when you can use usort() function with an arbitrary > handler? > > Cheers, > Rob. > > Exactly. That's one reason why I love PHP. They have functions that do things you have to write subroutines for in other languages. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com

« previous php.general (#278547) next »