Rigging 3d modeled dog

hi i’m new to blender i’m making a 3d dog for an app for my interactive class
i made the dog by mirroring bc that’s what they did in the tutorial i was following, i used riggify to bone it and it works well the only problem is when i go to rotate it in the posing mode, it will like invert the halves of the dog on each other ? like i said i’m new to blender i don’t understand everything but is there an easy way i can fix this where the dog will act like a whole object instead of two halves? thank you!

what is the order of the modifiers?
first mirror and then Armature, that should work!
(but I would apply the Mirrormodifier)
image