Fixed issue where running addPoint with an X value not being able to insert the point into the middle of a sorted series. Closes #1109.