Maybe Sansa did learn a lot from Littlefinger and deliberately revealed Jon's heritage to force a showdown so once everyone is dead and ashes settle she can sit on the throne. That would actually be very Game of Thrones, scheming in the shadows and letting others do the dirty work.
That would actually be good way to end it. If anyone could take Cerei's place it would be Sansa.