Effect of the shear flow in the generation and self-organization of internal gravity wave structures in the dissipative ionosphere