added a function to ranked the possible baring that will be used to generate multiple targets for the robot.