Trim first, dry second.
With a wet trim, you remove the fan and sugar leaves right after harvest, while the buds are still moist, then hang or rack the trimmed buds to dry. The leaves cut away cleanly when they are turgid, so trimming is quicker and the result looks tidy immediately. Because you are drying less plant material, the buds dry a little faster and the drying space stays cleaner with fewer leaves to shed moisture.
The trade-off is speed of drying: with the protective leaves gone, buds can dry too fast in a dry climate, which is the enemy of a smooth cure. Wet trimming suits humid environments and tight spaces where you want airflow around bare buds and cannot afford a slow, leafy dry that invites mold.