sort mycontours and contourmarks implemented