Broken Polygon

I have created a polygon by cartesian3-positions array.
The positions don't arranged in the right order and I got a broken polygon.
Is there any property to fix it?

What do you mean by “broken”? Can you provide a Sandcastle example?