diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html
index 87732a15..212ceca5 100644
--- a/layouts/partials/paige/pages.html
+++ b/layouts/partials/paige/pages.html
@@ -72,7 +72,7 @@
{{ end }}
{{ $flags = delimit ($flags | uniq) " " }}
- {{ $sectionclass = delimit (split $sectionclass " " | append $flags | sort | uniq) " " }}
+ {{ $sectionclass = delimit (split $sectionclass " " | append $flags | uniq | sort) " " }}