Exercise: Use arrange() based on a single column

The gapminder_2007 dataset contains economic and demographic data about various countries for the year 2007. Arrange the tibble and inspect which country had the lowest life expectancy lifeExp in 2007! The dplyr package is already loaded.

  1. Apply the arrange() function on the gapminder_2007 tibble
  2. Order the tibble based on the lifeExp column
Output

Submit code to see output here.

Sort data frames by columns