[DELIVERS BUGFIX #65388048 ORBEST] Changing Type model to from Entity to ValueObject.
[DELIVERS BUGFIX #75143042 SJ] Fixes how events are sorted.