I have a list of 2D points x,y. And I need to find a smooth curve for the upper and lower edges. Here I\'ve found a good example. Additionally, I need to sort/order these po