Sorting list of points into just the points that are a specific x-value

I’m kind of new to Grasshopper, and haven’t had any luck with this yet. I simply want to make a new list of x,y,z values that is contained to a specific x-value. As it is right now, the points are sorted in ascending x-value, but that’s it. My hope in doing this is that I can take these points at specific x-values and find the max and min z-values. Appreciate any help.

this can be a way:

Z_Domain_by_X_coordinate.gh (16.8 KB)



if you just want all the data altogether:

Z_Domain_by_X_coordinate_2.gh (18.0 KB)