Separate Lists by Z Coordinate when number per sublist varies

This example of MIndex finds points with the same X and Y values, differing only in Z, but you can easily adapt it to find duplicate Z values:

There can be precision issues that require rounding, as explained here:

1 Like