How does the ending of a midsummer nights dream characteristics of all shakespears comedies?

Most of Shakespeare's comedies end with a wedding or a bunch of weddings, including A Midsummer Night's Dream.