I don't know if they could've done anything more than what they already did when they have 2 mainstream brands competing against each other in the same segment.
By the same token, Forte competes with Elantra, Sportage with Tucson, Sorento with Santa Fe, Rio with Accent. Not much they can do about it.
Given the two choices, I think I would pick Sonata.