01-28-2013, 07:25 AM
|
PM User |
#10
|
|
Supreme Master coder!
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
|
Quote:
Originally Posted by Old Pedant
Hmmm....
quote 1: If compareFunction(a, b) is less than 0, sort a to a lower index than b.
quote 2: If compareFunction(a, b)is less than zero, sort b to a lower index than a.
I am trying real hard to see your viewpoint, Philip, but I can't.
I don't know how the two could be more diametrically opposed.
|
Sorry, misread the question.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
|
|
|