title: Sort list based on their i18n translation
body: <p>Given i have a list of items in my DB and their respective translation in i18n file.</p>
  
  <p>i18n file:</p>
  
  <pre><code>  basic_categories:  
      item_1: Z
      item_2: A
      item_3: F
  </code></pre>
  
  <p>on the view:</p>
  
  <pre><code>      &lt;% @basic_categories.each do |category| %&gt;
          &lt;%= t("basic_categories.#{category.name}") %&gt;
        &lt;% end %&gt;
  </code></pre>
  
  <p>How can i sort this list for each language?</p>