Hi,
I have a slight problem, which probably isn't a problem, but I don't know how to do it. I have a multidimensional array (which is created from a database query) in the following format:
Label, Score1, Score2, Score3, etc.
I'd like to be able to sort this array by Score1 (and later, by Score2, etc.). The problem is that I need to keep everything together. So if I have this:
Label1 8 8 8
Label2 7 7 7
Label3 9 9 9
I'd like it to become
Label3 9 9 9
Label1 8 8 8
Label2 7 7 7
Any ideas? Thanks.