hehehe nerd yappage time
Assuming present day games Sonic and Dragon Ball Super Goku. If both characters are restricted to their base forms, Sonic does have the speed to push Goku, but lacks the destructive power and durability to actually defeat Goku. Ultimately, Goku would fold Sonic like a lawn chair. However, Super Sonic is powerful enough to defeat beings that scale above the highest deities in Dragon Ball Super.
To sum up, Super Sonic likely beats Goku, but if you lock both of them to base form, Goku folds Sonic like a lawn chair.
Alastor can't do shit