Short question, if a golurk with iron fist used shadow punch, would stab or ability activate first because if ability goes first its 60+20=80 then 40+80=120 and if stab was first 60+30=90+20 is 110 so which one goes first?
The ability goes before the STAB.
Hope I helped. :) Source