Fix sorting of Messages.

._.
up.