Which of the following types of electromagnetic radiation has the shortest frequency?

Infrared waves

Microwaves

Ultraviolet waves

X-rays