Mnesia uses hash tables internally by default, so there is no specific order you can rely on. In general, this problem is not solvable without some kind of consensus between the systems. Say a global counter or something such.
A better way is to think if you really need to order everything that strictly. Often you don't and only want a weaker ordering as in "This definitely happened before, but this is roughly at the same time, so let us just pick some order between them."