Keep displayed messages sorted