PCG distance comparison for filtering

In PCG, is there a way to compare the distances of points from a common location and remove points based on that distance if they are similar?

I am trying to generate points for a solar system and want to avoid having multiple planets on the same “orbit path”. I’m looking for a way to tell PCG that if there are multiple points within a range of distances from a given location (the sun), filter out all but one.

I’m also open to suggestions if someone already has a good method for generating points to spawn planets around a sun.

this might help.

I was already aware of this and seen this video before while looking into this. I re-watched it just now in case I missed something, but it seems I did not miss anything. This is somewhat helpful, as it provides the first part of what I need (getting the distances), however, I am stuck on how to compare those distances to filter out similar distances.

As an example:

Lets say PCG gives a point that is 500 away from 0,0,0 as well as other points that are close to that distance (but maybe not in the same area) from 0,0,0. I am looking for a way to filter out all other points that are between 450 and 550 from 0,0,0. This way, there is only 1 point with a distance between 450 and 550 from 0,0,0.

EDIT: Here is an example of the problem I am trying to fix:

Notice that points 0 and 6 have very close distances, even though their positions are quite different. One of those should be filtered out.