R/checks.R
check_ordered.Rd
Checks if grouping is ordered by time and then outputs the correct order
check_ordered(group, time_data, return = TRUE)
a c_grouping
a vector of time
T/F return the new order or just run check?