R/group_tj.R
calc_sort_index.Rd
Calculate a new sort index for groups
calc_sort_index(x, active_group = NA)
group or sftrack object
(optional), a new active group. If not included, defaults to the active group (if a c_grouping) or the group names