title: Ordering in r plotly barchart
body: <p>Why do I get the different order in plotly bar chart than I defined in x and y variables.</p>
  
  <p>E.g.</p>
  
  <pre><code>library(plotly)
  
  plot_ly(
    x = c("giraffes", "orangutans", "monkeys"),
    y = c(20, 14, 23),
    name = "SF Zoo",
    type = "bar"
  )
  </code></pre>
  
  <p>I need bar chart where I see bars in the same order as x variable (categorical) is defined. Is there any trick for that?</p>