Drift wave vortices in nonuniform plasmas with sheared magnetic fields