The following figures show the spectral types of four main-sequence stars. Rank them based on the time each takes, (from longest to shortest), to go from a protostar to a main-sequence star during the formation process.
09, G2, A5, M6
09, G2, A5, M6
-
M, G, A, O