This is very deep and tricky subject without a straightforward answer… it really depends on the topology of the thing you’re generating. Currently there are only hacky solutions in GN for “recalculating normals”.
For your specific use-case, you could try something like this:
…it requires 4.1’s Sort Elements node, and the initial geometry needs to be at the origin on the XY plane.
Good luck.