Sonic is stronger than Shadow because he's faster and tougher, and he also has more forms and abilities at his disposal. That's why Sonic comes out on top.