It says 100 men were sentenced to a total of 14,200 lashes. So I think that’s the aggregate of punishment to a large group. Not 14,200 each.
Unless it’s with wet noodles, it’s still downright mean, and there wasn’t even buggery involved. One might even be hard pressed to call the dancing a civic sin in a Christian, biblical paradigm.