The order of vertices on a surface is the same as the order you created them. Unless you're using addmesh ... for this I couldn't be sure how if they are re-ordered.
Show us your code and I'm sure we'll be able to get this working for you.
Show us your code and I'm sure we'll be able to get this working for you.