From 1458363f5a7f3fb11ebdbf13e45880b2fb4f7a83 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 26 Feb 2018 08:15:43 -0800 Subject: [PATCH] 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 --- docs/reference/glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/glossary.md b/docs/reference/glossary.md index 4500fb5e1e..8fd6ef94ac 100644 --- a/docs/reference/glossary.md +++ b/docs/reference/glossary.md @@ -37,7 +37,7 @@ default_active_tag: fundamental

Click on the [+] indicators below to get a longer explanation for any particular term.

-{% 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' %}