Change glossary to sort_natural (#7523)

The default sort in liquid is ASCIIbetical, but there is a built in
sort_natural that allows you to sort things in human sensible
ways. This updates the glossary list to use sort_natural instead.

Fixes issue #7491
This commit is contained in:
Sean Dague
2018-02-26 08:15:43 -08:00
committed by k8s-ci-robot
parent e0ca08771e
commit 1458363f5a
+1 -1
View File
@@ -37,7 +37,7 @@ default_active_tag: fundamental
<p>Click on the <a href="javascript:void(0)" class="no-underline">[+]</a> indicators below to get a longer explanation for any particular term.</p>
{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" | sort: 'name' %}
{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" | sort_natural: 'name' %}
<ul>
{% for term in glossary_terms %}