On Mon, 2004-02-16 at 17:49, Herhuth, Ron wrote: > What I would like to do is to sort the results based on the > "percentageMatch" Obviously my simple flat array will not do the trick. Why don't you just sort them in the database before returning the result set? SELECT ... FROM ... WHERE ... ORDER BY <percentageMatch1> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php