For external event process generation, we will rely on the states and sequences of ingested external events. These are determined by their event timestamps. However, it is quite valid for two events to have the same timestamp in a given trace, in which we no longer have a sensible means to sort them and we could end up with two traces where this shouldn't be the case. We should determine a secondary sorting field so that all of our traces are consistent, or at least more consistent than currently.
- We add a secondary sorting criteria to external event trace states
- It might be possible to apply a sorting comparator based on the most common ordering of the events in question based on non-identical timestamps