Generalized sonic points and acceleration of multi-ion solar wind