When do shape keys occur in regards to the modifier stack?

I’m wondering when shape keys modify the object’s geometry.

I need to know because I want to use a mirror modifier and I don’t want the shape keys of the mesh to affect the mesh before the mirror modifier affects it. That way the mirrored side doesn’t get affected by the shape keys of the original side.

In short, right now when I use mirror modifier the shape keys are affecting the mirrored side and I don’t want that.

I assume that this is not possible because shape keys are not in the modifier stack and therefore always come first. Maybe what you have in mind works with geometry nodes, but i can’t help you there.