The electromagnetic spectrum is ordered by frequency (and wavelength). Frequency and energy are directly proportional, while wavelength is inversely proportional. The order from highest frequency to lowest frequency is: Gamma rays, X-rays, Ultraviolet, Visible light, Infrared, Microwaves, Radio waves.