Description

I'am sorting messages in my program according to the ObjectId and than trying to fetch messages from MongoDB with ID bigger than the one I have, but than I'm getting messages I already have.
After some tests and reading the documentation it looks like the Java ObjectId / compareTo is wrong.
My test:
@Test
public void compareMongoToMongo2()