Checking for overlaping sprites in an array

Hi.

I have an array of sprites that are instantiated at random positions on the screen
and I want to make sure that none of those sprites are on top of each other(since the player needs to press click them) I know I can use this somehow:

if (object1.renderer.bounds.Intersects(object2.renderer.bounds)) {
  // Do some stuff
}

But I can’t figure out how to implement it into a loop that checks it for all the sprites I have.

Take a look at OverlapSphere as your array feed