Hey
I was wondering if you can suggest a good way to sort the resulting polyline vector from polylines = ofxTraceSkeleton::trace(im); in such a way that a xy plotter could draw the most efficient path through all of the polylines?
Currently the order is all jumbled.

Here is a small test I did in OpenFrameworks.
I am sure you have already done something like this for https://github.com/CreativeInquiry/PEmbroider
Thanks a bunch.