Sonic comps up for franchised restaurants