paralect/Paralect.Domain — comment on commit 212835341bdebae87523ccf70924b15bf5810b81
File: source/Paralect.Transitions.Mongo/MongoTransitionRepository.cs line 81
By schetnikovich:

Oh... I see. Make sense.

Another reason for this: imagine two transitions from one stream (aggregate) with the same Timestamp (unlikely, but possible). In this case ordering by Version can save us from handling transitions in incorrect order. Here is an example:

Transition 1: ( Timestamp = 29034212343, Version = 5)
Transition 2: ( Timestamp = 29034212343, Version = 6)
Transition 3: ( Timestamp = 29034212343, Version = 4)