public int CompareTo(KeyPoint other)
 {
     return(Position.CompareTo(other.Position));
 }