sort.data.frame function

Sorts a data frame