I want to find the 10 closest instance to the player.
My first idea was to try and find all the instances, save their distance to the player in an array, sort that array, and pick the 10 closest enemies. However, I can see this getting quite taxing... Surely, there must be a better way.
Please...