Modified the compare function to use the smallest event ID in cases where the event start times were the same
update version to 1.6.1.2