From 0fe3d7a9a47a16532740ff1f2533cf37dc6437cf Mon Sep 17 00:00:00 2001 From: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> Date: Wed, 2 Oct 2024 23:23:15 +0200 Subject: [PATCH] fix(alzlibtool): sort defaults (#175) --- internal/doc/doc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/doc/doc.go b/internal/doc/doc.go index e81952a..5dd9dbe 100644 --- a/internal/doc/doc.go +++ b/internal/doc/doc.go @@ -219,6 +219,7 @@ func alzlibReadmeMdPolicyDefaultValues(md *markdown.Markdown, az *alzlib.AlzLib) if len(pdvs) == 0 { return md } + slices.Sort(pdvs) md = md.H2("Policy Default Values").LF().PlainText("The following policy default values are available in this library:").LF() for _, pdv := range pdvs { md = md.H3("default name `" + pdv + "`").LF()