/u/mimicofmodes has previously answered When did the suit become the standard formal wear and why? under another name.