Ordering Input Choices

Hi people.

I need to order some choices of my selectInput. look:

selectInput(
      "aqadoaco",
      label = "Steel:",
      choices= c("", dfMateriais$AQA_QT),
      multiple = T
    )

So, when I look to my choices, it's like:
wrongorder

It's not ordered. What kind of syntax can I use to order this?

Thanks!

It works with:

sort(c("", dfMateriais$AQA_QT))

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.