The decreasing order of the wavelength for the given rays is opposite to the order of their frequencies because the frequency of the wave is inversely proportional to the wavelength. v∝λ1
The order of frequency for the waves is
microwave < infrared <UV< gamma rays.