Nonlinear vortex dynamics in an inhomogeneous magnetized plasma with a sheared velocity field