I have an arbitrary list of coordinates that I know represent the boundary of a polygon.  Is there some sort of function from the contouring or path codes that would allow me to pass in that list and get back the resorted list with the path codes with it?

Thanks,
Ben Root