Question: what has the shortest wavelength and the most energy?
Answer: Gamma rays have the shortest wavelengths of the electromagnetic spectrum, and the highest energies. Gamma rays have such short wavelengths, that astronomers usually discuss them in terms of energy. Gamma rays have energies greater than about 100 keV (keV stands for kilo-electron volt.