This is using CRAN vctrs, where we still called this vec_order(). Noticed here tidyverse/dplyr#6093 (comment)
library(vctrs)
df <- new_data_frame(n = 5L)
# Should return c(1, 2, 3, 4, 5)
vec_order(df)
#> NULL
Created on 2021-11-18 by the reprex package (v2.0.1)