I am working with a weird data frame where the observations are out of order, and the unique identifiers for each observation are not numbered in a linear, straightforward manne