Two lists matching

I have a pointlist and a meshlist.
and these lists’ length are same.
I want to match this two lists each other locationally.
So, Using the C# component, how can I match?
assign the number and use the index?

Hello,

here is the standard algorithm I use for searching neighbouring geometry.

meshSort.gh (9.3 KB)

I appreciate for the helpful information.

is this what you are after?

Did you forget the attachment?

actually if was asking if my first post solved his problem. You can interpret his answer twofold. :confused: