Re: [PHP] Sorting Help

2012-04-11 Thread Bastien
Bastien Koert On 2012-04-11, at 2:18 PM, Floyd Resler wrote: > > On Apr 11, 2012, at 1:11 PM, admin wrote: > >> >> >> -Original Message- >> From: Floyd Resler [mailto:fres...@adex-intl.com] >> Sent: Wednesday, April 11, 2012 11:26 AM &g

Re: [PHP] Sorting Help

2012-04-11 Thread Stuart Dallas
On 11 Apr 2012, at 16:26, Floyd Resler wrote: > I need to sort the following array: > { > [Smith, Bob]=>array(137.5,125.5), > [Jones, Robert]=>array(132.7,128.2) > } > > The array needs to be sorted by the first number (i.e. 137.5) and then the > second in descending order. I looked

Re: [PHP] Sorting Help

2012-04-11 Thread Floyd Resler
On Apr 11, 2012, at 1:11 PM, admin wrote: > > > -Original Message- > From: Floyd Resler [mailto:fres...@adex-intl.com] > Sent: Wednesday, April 11, 2012 11:26 AM > To: PHP > Subject: [PHP] Sorting Help > > I need to sort the following array: >

RE: [PHP] Sorting Help

2012-04-11 Thread admin
-Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: Wednesday, April 11, 2012 11:26 AM To: PHP Subject: [PHP] Sorting Help I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The

RE: [PHP] Sorting Help

2012-04-11 Thread admin
-Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: Wednesday, April 11, 2012 11:26 AM To: PHP Subject: [PHP] Sorting Help I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The array

[PHP] Sorting Help

2012-04-11 Thread Floyd Resler
I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The array needs to be sorted by the first number (i.e. 137.5) and then the second in descending order. I looked at array_multisort but couldn't figure out how to make wo