title: R - Change the order of elements in a list
body: <p>I need to change the order of elements in a <code>list</code>. I don't find a patent response in others questions about sort or order a list.</p>
  
  <p>Here is a simple example.</p>
  
  <pre><code>Freedom &lt;- c(1, 2, 3, 2, 1, 2)
  Equality &lt;- c(2, 3, 1, 1, 2, 1)
  TypeCountry &lt;- c("South", "East", "East", "North", "South", "West")
  
  Example &lt;- list(Freedom, Equality, TypeCountry)
  names(Example) &lt;- c("Freedom", "Equality", "TypeCountry")
  </code></pre>
  
  <p>The <code>list</code> has the order <code>Freedom</code>, <code>Equality</code> then <code>TypeCountry</code> and I want to be able to change the order of the elements (for example <code>Equality</code>, <code>Freedom</code> then <code>TypeCountry</code>).</p>