We classify stars based on their spectra. The sequence of spectral classes in essence tells us the temperature of the star. From hottest to coolest the classes are O, B, A, F, G, K, M.
@evilscientistca So back in the 1920 stars were classified based on the prominence of H-beta Balmer absorption line β alphabetically, from the most prominent βAβ to the least βOβ.
Annie Jump Cannon projected those A,β¦,O scale to the temperature based OBAFGKM (missing classes were too close to other classes and were dropped), where the surface temperature smoothly decreases from O to M.
The new scale preserved old names, but at the cost of losing relation between them.
Damn trade-offs!
@kmicu had the advantage of not having to re-classify 10s of thousands of stars though.