How to group point with same Plane or same X,Y or Z

3. Attach minimal versions of all the relevant files