Couldn't you just add a line or two to the loop above to save the best of individualArr while you were looping through it?