Periodic and purposely disordered superlattices: the effect of continuous and discrete disorder distribution