mongodb sort order on _id
To expand slightly on what Andre said: Since the ObjectID timestamp is only to the second, two (or more) ObjectIDs could easily be created with the same value for the timestamp (the first 4 bytes). If these were created on the same machine (machine ID – the next 3 bytes), by the same process (PID …