How to form a polygon without intersection of line

Here is the procedure trying to form a polygon with points on the object.


V7YyZFh9.png)
the photos above is projecting the points on the object surface and the results


the last 2 photos are trying to form a polygon with the points. Since the points is in order from bottom to the top, the formation of the polygon is also in the same order. I understand if I reorder the points, the problem solved, but I wonder if there is any other solution in forming a polygon without intersection of line which shown below as the points I import will always be in order from bottom to the top.