|
From: Eden Cardim on 30 Nov 2005 16:36 <snip> > That is not quite true. The comparison will determine that the elements > being compared are equal. How the two elements end up in the final sort > order is determined by the "stability" of the sort. A sort which is > "stable" will retain the original order of equal elements. A sort which > is not stable is free to reorder equal elements. <snip> I don't think you noticed, but I'm talking about the max function proposed earlier by Anno, not perl's sort builtin function. His code obviously selects rightmost items if the items compared are equal: $left > $right ? $left : $right
From: Tad McClellan on 30 Nov 2005 16:49
Feyruz <feyruzyalcin(a)hotmail.com> wrote: > Purl Gurl, why dont you also behave more civilized before calling > others rude? PG is an example of a Usenet phenomenon known as a "troll". http://www.catb.org/~esr/jargon/html/T/troll.html It is best to ignore what she says, and to not post followups to her posts. -- Tad McClellan SGML consulting tadmc(a)augustmail.com Perl programming Fort Worth, Texas |