This is said in javadocs I've posted.
Now look, what interface is implemented by your Message.
Type: Posts; User: angstrem
This is said in javadocs I've posted.
Now look, what interface is implemented by your Message.
Look at the definition of the Collections.sort(). Read it carefully. Then think whether your collection can be sorted, or not.