Property NewestFirst
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
NewestFirst
Gets the comparer that orders positions the way a mailbox timeline is read: newest message first.
public static IComparer<EmailTimelinePosition> NewestFirst { get; }
Property Value
Remarks
A message whose received timestamp is unknown sorts after every message that has one, because the alternative
puts mail nobody can date above today's mail forever. PostgreSQL orders nulls first under DESC, so the
timeline indexes spell out NULLS LAST to reproduce this decision rather than inherit the opposite one.