-
Type:
Improvement
-
Resolution: Won't Do
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.0.1
-
Component/s: BSON
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The server used to sort BsonDateTime and BsonTimestamp together, but no longer does:
http://docs.mongodb.org/manual/reference/bson-types/
It now says: Changed in version 3.0.0: Date objects sort before Timestamp objects. Previously Date and Timestamp objects sorted together.
The CompareTo methods of BsonDateTime and BsonTimestamp in the driver should be updated to match.
This is a minor breaking change to the extent that someone might have been depending on this sort order, but it is more important that the driver and the server have the same sort order.