Did your EBF baby sleep better after starting formula or solids?

Desperately seeking a way to help my LO sleep. Even if that means giving up breastfeeding partially. My mom swears it'll help. Any other experiences?