The data must be sorted first
This error results when you attempt to apply a Smooth, Weighted, Cubic Spline or Interpolate curve fit to data which does not have the independent variable in ascending order. Once the independent variable is sorted, you will be able to apply the fit.