[PHP] Sort an array by its values From: Aaron Bennett (abennett <email protected>)
Date: 07/08/01

Hi All,
  I'm trying to sort an array of objects by the value of one of those
objects...
for instance, I'll have an object with 2 properties, "id" and "score", where
id is unique and score is its relevant (and sometimes simelar) score. i've
tried using sort() and asort() but i can't figure how to base the sorting
off the value (i.e. score) of the object in the array. Any help?

--
Aaron