I am using tbl_summary in R to create a table, but I do not like the default ordering of the columns.
```
tbl9 <- DH_df2 %>% select(Age_Group, BOP_Level)
tbl9 %>%
tbl_summary(by = Age_Group,
missing = "no") %>%
add_p(everything() ~ "chisq.test") %>%
modify_header(label ~ "**Age Groups**") %>%
modify_caption("**Table 1. Correlation Age and BOP**") %>%
bold_labels()
```
My output gives me the correct information and table, but I want to move "Under 35" to be the come before "Age36~50". How can I do that?
Current Column output: Age Groups / Age36~50 / Age51~ / Under 35 / p-value