title: Setting Order of R Highcharter Categories
body: <p>I noticed that my bar graphs change in order based on alphabetical order. I'm using a selectinput, thus if a person who is selected with a name beginning in A, they are at the top, but if it is a letter after C, then they move to the bottom. This is not based on the value of the bars, but seems tied to the names. How can I keep the ProviderName at top always?</p>
  
  <p>My hc code is below</p>
  
  <pre><code>hchart(
      comparison_prov_df,
      type = "bar",
      hcaes(x = Metric, y = Value, group = ProviderName),
      colorByPoint = F,
      showInLegend = T,
      dataLabels = list(enabled = T)
    ) %&gt;%
      hc_chart(zoomType = "xy") %&gt;%
      hc_tooltip(crosshairs = TRUE, shared = FALSE, borderWidth = 1) %&gt;%
      hc_credits(
        enabled = TRUE,
        text = ""
      ) %&gt;%
      hc_add_theme(hc_theme_elementary()) %&gt;%
      hc_legend(enabled = TRUE) %&gt;%
      hc_exporting(
        enabled = TRUE,
        filename = "data"
      ) %&gt;%
      hc_title(
        text = "Title",
        align = "left"
      ) %&gt;%
      hc_yAxis(
        title = list(text = "Y Axis"),
        labels = list(
          reserveSpace = TRUE,
          overflow = "justify"
        )
      ) %&gt;%
      hc_xAxis(title = "") %&gt;%
      hc_tooltip(pointFormat = "{point.y:.1f}") 
  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/UoUhz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UoUhz.png" alt="Person A"></a></p>
  
  <p><a href="https://i.stack.imgur.com/OyMvV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OyMvV.png" alt="enter image description here"></a></p>