The order of the spectrum going from low frequency to high frequency is
Radio - Microwaves - Infra Red - Visible Light -Ultra Violet- X Rays - Gamma Rays
Also the higher the frequency the higher the energy (E=hf)
Therefore X-Rays are a higher frequency and have a higher energy