The Meteor Collection Object_Id does not appear to be the Mongo BSON Object_Id. This appears to be true based on conversation in IRC and https://github.com/meteor/meteor/blob/master/packages/uuid/uuid.js
Therefore, can it still be used to…
- Use for ascending order?
- Use for extracting insertion times?
- Sort by ascending order, similar in nature to #1 and #2 though combined in scope of inquiry.
I believe this to be an important question for many that are considering building an application that requires optimization and is being designed according to Mongo docs. See http://www.mongodb.org/display/DOCS/Optimizing+Object+IDs for more info.
Heres the current implementation:
from: https://github.com/meteor/meteor/blob/bf46f04024251dea7a547c48d01d8032b7838d10/packages/minimongo/uuid.js
so the answer is, nope. It’s mostly random.