20081010 1042 GMT-6 I have a nested array.
[0] ( [0] = 4 [1] = value1) [1] ( [0] = 2 [1] = value2) There are a about a hundred or so everything this runs. The first value (4 or 2) are value indicators for the value (value1 or value2). Like a ranking of sorts. These values are ranked in groups from 1 to 20. There could be 30 items that fall in the ranking of 15 category. There might be only five items ranked as a 5. So what I want to do is sort these according to rank. So I want all the ones at the top and 20's at the bottom. Im not sure how to do this :) Im looking through the php functions for arrays but Im not sure how to sort based on the first value of a nested array. Wade