Answer
Betelgeuse < Sun < Rigel
Work Step by Step
Heated solids will produce different wavelengths at different temperatures. Hotter object will emit lower wavelength light.
Therefore, a red star is cooler than a yellow, which is cooler than a blue star.