with_mention_order() allows you to specify the order of returned
mentions or the order of counted mentions. This does not
preclude you from reordering mentions using dplyr::arrange().
This is part of the query() language.
with_mention_order(.account, ..., .envir)
| .account | An account or  | 
|---|---|
| ... | The fields to order by. | 
| .envir | The environment to perform substitutions in. | 
A query() object.
Other verbs for the query language: group_mentions_by(),
compare_mentions(), filter_mentions(), filter_mentions(), with_account().
query() is a way to manually create queries.
account("TEST01AA") %>% filter_mentions("published inthelast week") %>% group_mentions_by(mentionCount, totalOTS) %>% with_mention_order(totalOTS)#> BrandsEye Query #> accounts: TEST01AA #> brands: TEST01AA:1[Your Brand Here], TEST01AA:2[Sibling Brand] #> timezones: Africa/Johannesburg #> filter: published inthelast week #> grouping: mentionCount, totalOTS #> ordering: totalOTS