[noob] help with hybrid animation

Hi,

Is it possible to animate a fish using a fin animation and a wave modifier.
the fin animation looks like this, left:
If I add the wave modifier, it looks like this, right:
ezgif.com-gif-maker
Is there a way to make the two work together?

if the wave modifier is below the armature modifier does it fix the problem?

Yes, so simple, thank you @moonboots