morton order for event sorting