http://bugzilla.spamassassin.org/show_bug.cgi?id=3238
------- Additional Comments From [EMAIL PROTECTED] 2004-04-05 10:41 ------- Subject: Re: Score below 10 is not zero-padded causes bad sorting On Mon, Apr 05, 2004 at 10:05:24AM -0700, [EMAIL PROTECTED] wrote: > BTW Theo -- are you sure about ascii sorting putting neg numbers last? > man ascii lists - (0x2d) as before 0 (0x30). Well, yeah. I didn't explain completely. The printf is 5.2f, which means that single digit scores have a space in front -- those go first, followed by the negatives, followed by >=10 positives. So it comes out sorted like this: 0.00 2.00 4.00 6.00 8.00 -10.00 -2.00 -20.00 -4.00 -40.00 -6.00 -60.00 -8.00 10.00 20.00 40.00 60.00 Clearly that's crap, which is what ASCII sorting tends to be. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
