friedPotat0 / Spam-Scores

Thunderbird add-on to display spam scores according to mail headers. Supports spam/ham score headers of Rspamd and SpamAssassin. The add-on adds a column with the overall spam score to the mail list view and shows details of any matched spam/ham rule.
https://addons.thunderbird.net/de/thunderbird/addon/spam-scores/
Other
43 stars 6 forks source link

Sort order for SpamScore column #64

Open de-es opened 2 months ago

de-es commented 2 months ago

Describe the bug If you sort your mails by SpamScore, it looks like the spam values are compared by string rather than by the int value.

So you get something like

0.4
1.11
10.5
11.88
2.73

Reproduction steps Sort your mails by the SpamScore column.

Expected behavior Mails are sorted by integer value.

0.4
1.11
2.73
10.5
11.88

Screenshots n/a

Thunderbird (please complete the following information):

Spam Score add-on (please complete the following information):

Additional context n/a

PitWenkin commented 2 months ago

Same for nagtive number

-99
-90
-85
-100
MacOS Sonoma 14.5
TB 128 (Plugin still works generally 👍)
SS 1.5.0