When joining two tsibbles, the outcome may be in the 'wrong order'. Since tsibble is used for time series, it would be nice if the outcome of any join could be automatically sorted (arrange) by the index, or key/index pair.
x <- rnorm(100)
x <- cumsum(x)
dt <- tsibble::yearquarter("1950 Q1")
dt <- seq(dt, by = 1, along.with = x)
A <- as_tsibble(tibble(index = dt, x = x))
y <- cumsum(rnorm(30))
B <- as_tsibble(tibble(index = dt[25:54], y = y))
Z <- full_join(B, A)
head(Z)
head(arrange(Z, index))
When joining two tsibbles, the outcome may be in the 'wrong order'. Since tsibble is used for time series, it would be nice if the outcome of any join could be automatically sorted (arrange) by the index, or key/index pair.