r dataframe sort code example
Example 1: r sort data frame by one column
population[order(population$age),]
Example 2: sort R
sort(x, decreasing = FALSE, na.last = TRUE):
population[order(population$age),]
sort(x, decreasing = FALSE, na.last = TRUE):