Generate Mesh based on List of Vec3 Points

Currently I am attempting to create a mesh using a set of points that I am generating through an Editor script, I have looked at some Marching Cubes examples although they are usually meant for terrains and not for a full enclosed object. Wondering if anyone has come across this or knows how to generate an object with a set of Vec3 points?

The docs describe it pretty well.

I know about the docs on Mesh, but what I have is a set of points that not in any specific order, hence my trouble, need a way to sort them