Fix sorting of Messages.

._.