Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Swap back to previous category sorting code
  • Loading branch information
Paul Cochrane committed Aug 28, 2015
1 parent 7c832ab commit 133f103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/Htmlify.pm6
Expand Up @@ -98,7 +98,7 @@ class Website is export {
method write-category-indices {
say "Creating category index files";
my @headers = qw{File Title Author};
for $!categories.categories-table.sort({ $^a.key cmp $^b.key })>>.kv -> ($category-key, $title) {
for $!categories.categories-table.sort(*.key)>>.kv -> ($category-key, $title) {
my $category = $!categories.category-with-key($category-key);
my @examples = $category.examples.values.sort({ $^a.filename cmp $^b.filename });
my @rows = @examples.map: {[.pod-link, .title, .author]};
Expand Down

0 comments on commit 133f103

Please sign in to comment.