Skip to content

Commit 133f103

Browse files
committed
Swap back to previous category sorting code
1 parent 7c832ab commit 133f103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Pod/Htmlify.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Website is export {
9898
method write-category-indices {
9999
say "Creating category index files";
100100
my @headers = qw{File Title Author};
101-
for $!categories.categories-table.sort({ $^a.key cmp $^b.key })>>.kv -> ($category-key, $title) {
101+
for $!categories.categories-table.sort(*.key)>>.kv -> ($category-key, $title) {
102102
my $category = $!categories.category-with-key($category-key);
103103
my @examples = $category.examples.values.sort({ $^a.filename cmp $^b.filename });
104104
my @rows = @examples.map: {[.pod-link, .title, .author]};

0 commit comments

Comments
 (0)