anchor.diff:  
             <tbody>
             <% if declarable.import_measures.except(:third_country).for_country(@search.country).any? %>
  -            <%= render partial: "measures/measure", collection: declarable.import_measures.except(:third_country).for_country(@search.country) %>
  +            <%= render partial: "measures/measure", collection: declarable.import_measures.except(:third_country).for_country(@search.country).sort_by(&:specific_country_sort_key) %>
             <% else %>
               <tr>
                 <td><span class="flag eu"></span></td>
  
positive.code:         </thead>
          <tbody>
          <% if declarable.export_measures.for_all_countries.any? %>
            <%= render partial: "measures/measure", collection: declarable.export_measures.for_all_countries, locals: { declarable: declarable } %>
          <% else %>
            <tr>
              <td><span class="flag eu"></span></td>
  
negative.code:         </thead>
  
          <tbody>
            <%= render partial: "measures/measure", collection: declarable.import_measures.for_all_countries.sort_by(&:sort_key), locals: { declarable: declarable } %>
          </tbody>
        </table>
  
  