Get Sequence Number

getSequenceNumber(timestamps)

Arguments

timestamps

vector of timestamps

Value

vector as long as timestamps containing numbers 1, 2, 3, ... indicating the belonging to a sequence of increasing timestamps. If the vector contains only ones, this means that timestamps is increasingly sorted.