Re: [PHP] Tricky sorting problem

2002-10-30 Thread René Fournier
It works! Thanks. On Wednesday, October 30, 2002, at 10:50 AM, @ Edwin wrote: ...and the 2 should be 3 :) - E "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: the -5 should be -7 René Fournier wrote: (Well, at least it's tricky for me... :-) I need to sort an array based on three numbers th

RE: [PHP] Tricky sorting problem

2002-10-30 Thread John W. Holmes
> I need to sort an array based on three numbers that are situated in the > middle of each array element. For example: > > $list[] is an array, and contains the following [unsorted] elements: > > Super-S862-030.jpg > Super-S1162-040.jpg > Super-S874-010.jpg > Super-S1174-020.jpg > > I want to so

Re: [PHP] Tricky sorting problem

2002-10-30 Thread Marek Kilimajer
Yes, and 2 should be 3 Marek Kilimajer wrote: the -5 should be -7 René Fournier wrote: (Well, at least it's tricky for me... :-) I need to sort an array based on three numbers that are situated in the middle of each array element. For example: $list[] is an array, and contains the followin

Re: [PHP] Tricky sorting problem

2002-10-30 Thread @ Edwin
...and the 2 should be 3 :) - E "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > the -5 should be -7 > > René Fournier wrote: > > > (Well, at least it's tricky for me... :-) > > > > I need to sort an array based on three numbers that are situated in > > the middle of each array element. For exampl

Re: [PHP] Tricky sorting problem

2002-10-30 Thread Marek Kilimajer
the -5 should be -7 René Fournier wrote: (Well, at least it's tricky for me... :-) I need to sort an array based on three numbers that are situated in the middle of each array element. For example: $list[] is an array, and contains the following [unsorted] elements: Super-S862-030.jpg Super-