I have four points in a point group - "endPts". I want to find the two highest (@P.y) points.
So, I thought: In a detail wrangle, create an array and run through all the points. Check if the point is in the "edgePts" group, if so, append it's P.y value it to an "endPtsArray" array. Sort the array. The last two array values will be from the highest two points.
Alex - many thanks, that looks great, I'll be trying it out very soon : ) 'expandpointgroup' is a new one to me. I appreciate your expertise and generosity!