electromagnetic spectrum is a bunch of electromagnetic waves arranged according to their wavelength, from highest wavelength to the lowest wavelength
the highest wavelength will have the lowest energy value for eg micro wave
the lowest wavelength will have the highest energy value for eg cosmic waves
the order is
microwave,radiowave, infrared,red, orange, yellow,green,blue,indigo,violet, ultraviolet, Gamma rays and cosmic rays