BUG fix lowess sort when nans closes #946
Merge pull request #949 from josef-pkt/fix_lowess_946

BUG fix lowess sort when nans closes #946