Dynamic ordering of driven vortex matter in the peak effect regime of amorphous MoGe films and 2H-NbSe2 crystals