> o If the mailbox contains an [RFC5322] display-name, replace each > instance of [RFC5322] CFWS in the display-name with a single > space, trim leading and trailing whitespace, and decode any > quoted-strings and [RFC2047] encoded-words. If the resulting > string is not the empty string, use it as the sort value for the > mailbox. Is the ordering right? Maybe it should be more like: 1. Decode RFC 2047 encoded-words 2. Decode quoted-strings 3. Trim away extra whitespace Or is the whitespace significant in encoded-words and quoted-strings? > o Otherwise, the message's sort value is the DISPLAY sort value of > the first mailbox in its From header. Minor thing: Everywhere else it says "[RFC5322] mailbox", except here.
Attachment:
signature.asc
Description: This is a digitally signed message part