title: How does order work?
body: <p>This is a very embarrassing question, but I cannot understand the result of the following:</p>
  
  <pre><code>&gt; order(c(3,1,2))
  [1] 2 3 1
  </code></pre>
  
  <p>So, it's saying the ordered sequence is <code>2, 3, 1</code>? How?</p>