Setting priority on overlap events

Hi

I am working on a ledge climb system that uses ledge actors to detect if the character can climb up or not and i he should continue on to next ledge

My problem is now that the character is having trouble when there is a sharp corner and he is overlapping two ledges at the same time.
he is unable to figure out witch ledge to rotate to.

My question is if there is a way to set a priority for overlapping actors (if A and B is true then B) or something similar