Marriage between Sansa and Joeffrey helps with northern relations as, you will find out later, the North are stubborn people who tend to look out for their own. Cersei is trying to placate the northmen and the rest of the stark family and use Sansa as an investment into better future relations whilst holding on to her as a hostage. She's playing a short, and long-game, or at least, trying to