Arrange the following ions in order of basicity:
(1) $\ce{CH3COO-}$ (acetate)
(2) $\ce{PhO-}$ (phenoxide)
(3) $\ce{HOO-}$ (hydroperoxide)
(4) $\ce{HO-}$ (hydroxide)
The first thing I see is that all of them have the same donor atom, i.e. oxygen.
In both $\ce{CH3COO-}$ and $\ce{PhO-}$, the charge is stabilized by resonance. So, they are least basic, $\ce{PhO-}$ being the less basic among the two as you can see that in case of $\ce{PhO-}$, the number of resonance structures are more than $\ce{CH3COO-}$.
Next, comparing $\ce{HO-}$ and $\ce{HOO-}$ I find that the negative charge on $\ce{O-}$in $\ce{HOO-}$ maybe slightly more stable as the charge may be shared by the other oxygen, whereas $\ce{HO-}$ has no such option.
So I get the basicity order as 4 > 3 > 1 > 2. But the answer is 3 > 4 > 2 > 1. Where am I wrong?

