Challenge with sort component - grasshopper

For clarity. It is the same as doing this:

ClosestPointDistance.gh (15.8 KB)

Yep. That’s what I figured. Good to know!

Although, the pull seems to compute faster on large data sets. So the algo is probably optimized for this in the code, where distance really wasn’t meant for that.

Excellent. Good to know! I think that’s where my 1st draft got stuck with sorting the list. I was missing the list item, but in this case the entire sort was replaced with the pull point which is more elegant. Thank you!

No, this is a perfect GH problem. As always though, the way a problem is described is critical to how it gets solved.