private bool zedGraphControl_PreMouseMoveEvent(ZedGraphControl sender, MouseEventArgs e) { if (zedGraphControl.IsEditing) { PointPairList pointList = zedGraphControl.GraphPane.CurveList[0].Points as PointPairList; pointList.Sort(); } return false; }