I have an NSMutableArray of Sprites and I want to remove a few of them based on their proximity to another sprite. So say I have 10 sprites and I want to remove the first 3 that are closest to another sprite.
I can't think of a sophisticated efficient way of doing this, anything i've come up with so far seems overly convoluted and inefficient. Any ideas?