The air traffic controller directed one plane into the other's flight path, but both planes' onboard collision avoidance system averted the collision.