Replacing event data with the new one, sorting marks in different point.