.row
  .col-xs-12
    %h3 Magic Sets
    %ul
      - @sets.each do |set|
        %li
          = link_to_set(set) do
            = "#{set.name} (#{set.code})"

.row
  .col-xs-12
    %h3 Magic Sets
    %ul
      - @sets.sort_by{|s| [-s.release_date.to_i_sort, s.name] }.each do |set|
        %li
          = link_to_set(set) do
            = "#{set.name} (#{set.code})"

Sort sets in reverse chronological order
Sort sets in reverse chronological order
