Re: [PHP] Sort a multi-dimensional array on a certain key followed by another key

2009-03-28 Thread Virgilio Quilario
> Ok so, I have an array > > [0(index)][1st key][2nd key] > > Basically I don't care about the index. As a matter of fact I'd prefer it > reset to still be in order afterwards. > > However, I need to sort the 1st key and keep correlation w the second key. > Then sort on the second key. > > I have v

Re: [PHP] Sort a multi-dimensional array on a certain key followed by another key

2009-03-27 Thread Jim Lucas
TS wrote: Ok so, I have an array [0(index)][1st key][2nd key] Basically I don't care about the index. As a matter of fact I'd prefer it reset to still be in order afterwards. However, I need to sort the 1st key and keep correlation w the second key. Then sort on the second key. I have video v

[PHP] Sort a multi-dimensional array on a certain key followed by another key

2009-03-27 Thread TS
Ok so, I have an array [0(index)][1st key][2nd key] Basically I don't care about the index. As a matter of fact I'd prefer it reset to still be in order afterwards. However, I need to sort the 1st key and keep correlation w the second key. Then sort on the second key. I have video volumes and s