From: Dobrica Pavlinusic Date: Tue, 3 Sep 2019 12:59:10 +0000 (+0200) Subject: sort code snippets aplhabetically X-Git-Url: http://git.rot13.org/?p=MojoFacets.git;a=commitdiff_plain;h=ba5c6727bf19c7b5bc8bac41ae1039b50a6e9d60 sort code snippets aplhabetically --- diff --git a/templates/code/index.html.ep b/templates/code/index.html.ep index 54f958c..989d0c5 100644 --- a/templates/code/index.html.ep +++ b/templates/code/index.html.ep @@ -14,7 +14,7 @@ column in this dataset % } -% foreach my $depends ( keys %$snippets ) { +% foreach my $depends ( sort { lc $a cmp lc $b } keys %$snippets ) {

<%= $depends %>