I looks but it looks like you have your head on your shoulders correctly.
It is very hard to find good group of people. And it's hard to keep a good group of people good,
This was a pretty interesting test for you. It tests your ego, your patience, your understanding and alot more.
I'm certain by this point you may be deciding to move on ...or if you're still wanting to hang with the group you do so and continue to rule by example..which I think they all would gain to benefit from.
I don't think in every situation like this that it is necessary to turn to magical action. Maybe just step away a bit AND wear frankincense and myrrh oil every day. Be silent. Let everyone reflect on things said. Let the stupid stuff said echo in the room. There's no need to say "who farted." Everyone will smell it.
Whenever you discover someone is a moron just be nice and let them keep running their mouth. You can't save them from being a moron...and attempts to shut them up...or attempts to enlighten them can back fire...especially at a party where egos are drinking alcohol.
Hang in there and dont let anyone cause you to lose control of your thoughts, your words nor your actions. IN THAT ORDER!
Love, Lady Mimi