Red light has more energy than infrared, PER PHOTON. It's related to the fact that red light has a higher frequency. For light, energy per photon = 6.626070 * 10^-34 Joule seconds * frequency.
because it's wave length is longer
The other way around. The wavelength of red light is SHORTER.