How to determine which salt will precipitate from a solution containing multiple ions?
You need to know that $K_\mathrm{sp}$ is used to determine the solubilities of sparingly soluble salts usually. You can get the values of $\ce{AgSO4,AgBr}$ and as $K_\mathrm{sp}=[\ce{Ag+}]^2[\ce{SO4^2-}]$ or $[\ce{Ag+}][\ce{Br-}]$. Now concentration of silver ion is constant so try calculating the other two anions and try comparing them.