Hello all, title says it all, a few notes however:
1) it is not a perfect sort by thread as I'm not using the references to all the previous mails in the thread, only the subject and the replyto/messageid. That seems to be working pretty well in most cases anyway. 2) it has not been thoroughly tested, so bugs are to be expected, however it's been working fine for me so far. 3) the sorting method is certainly not the most efficient, it's the simplest for me to manipulate I could come up with. 4) I haven't looked at plan 9's code for that, but I don't see why it couldn't be integrated easily if ppl like it. For those interested, here it is: http://codereview.appspot.com/264043 Cheers, Mathieu