Sort messages by publication date before presenting it the processing chain