Key order in unordered reads and ties
What changes in Key order in unordered reads and ties compared with MongoDB and what your application has to do.
This difference is of the Different kind.
What MongoDB does
The ids of the violations when making an index unique, unordered reads and $sort ties follow insertion order.
What TeselaDB does
They follow _id or key order. In a tie, the equal value $group keeps may change.
What your application has to do
If you depend on the order or on the value chosen in a tie, sort explicitly.