The correct arrangement of the electromagnetic spectrum from shortest to longest wavelength is:
gamma ray → X-ray → ultraviolet → visible → infrared → microwave → radio
So the correct option is:
gamma ray → X-ray → ultraviolet → visible → infrared → microwave → radio