title: Sort values using a specific collation in Ruby/Rails
body: <p>Is it possible to sort an array of values using a specific collation in Ruby? I have a need to sort according to the da_DK collation. </p>
  
  <p>Given the array <code>%w(Aarhus Aalborg Assens)</code> I would like to have <code>['Assens', 'Aalborg', 'Aarhus']</code> back which is the correct order in Danish.</p>
  
  <p>The standard sort method</p>
  
  <pre><code>%w(Aarhus Aalborg Assens).sort
  </code></pre>
  
  <p>returns something that looks like the ascii order (at least not the Danish order):</p>
  
  <pre><code>["Aalborg", "Aarhus", "Assens"]
  </code></pre>
  
  <p>The environment is both Snow Leopard and linux running ruby 1.9.2 and Rails 3.0.5.</p>