Box Trace does not take closest actor

So like this?

What should I do with the sorted by distance array that comes out of the function?