Next, order the states based on population (from smallest to largest population). Store the result in a dataframe called my_df_ordered that contains the states and its respective rank. The names of the two columns should be equal to state and rank, respectively.

Hint: create an object ind that stores the indexes needed to order the population values. Then use the bracket operator [ to re-order each column in the data frame.