diff --git a/app/views/tag_relationships/_alias_and_implication_list.html.erb b/app/views/tag_relationships/_alias_and_implication_list.html.erb index dc66fff98..ca3e103d3 100644 --- a/app/views/tag_relationships/_alias_and_implication_list.html.erb +++ b/app/views/tag_relationships/_alias_and_implication_list.html.erb @@ -9,7 +9,7 @@ <% if tag.consequent_aliases.present? %>

The following tags are aliased to this tag: - <%= to_sentence(tag.consequent_aliases.map { |ta| link_to_wiki ta.antecedent_name }) %> + <%= to_sentence(tag.consequent_aliases.sort_by(&:antecedent_name).map { |ta| link_to_wiki ta.antecedent_name }) %> (<%= link_to_wiki "learn more", "help:tag_aliases" %>).

<% end %> @@ -27,7 +27,7 @@ <% if tag.antecedent_implications.present? %>

This tag implicates - <%= to_sentence(tag.antecedent_implications.map { |ti| link_to_wiki ti.consequent_name }) %> + <%= to_sentence(tag.antecedent_implications.sort_by(&:consequent_name).map { |ti| link_to_wiki ti.consequent_name }) %> (<%= link_to_wiki "learn more", "help:tag_implications" %>).

<% end %> @@ -35,7 +35,7 @@ <% if tag.consequent_implications.present? %>

The following tags implicate this tag: - <%= to_sentence(tag.consequent_implications.map { |ti| link_to_wiki ti.antecedent_name }) %> + <%= to_sentence(tag.consequent_implications.sort_by(&:antecedent_name).map { |ti| link_to_wiki ti.antecedent_name }) %> (<%= link_to_wiki "learn more", "help:tag_implications" %>).

<% end %>