Skip to content

Commit 50f3d3e

Browse files
Sort routes alphabetically
1 parent 3becc10 commit 50f3d3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/templates/routes.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"title" => Html::a($company->url(), $company->title()),
6969
"items" => $company
7070
->routes()
71-
->filterBy("section", $section),
71+
->filterBy("section", $section)
72+
->sortBy("title", "asc"),
7273
]); ?>
7374
<?php endforeach; ?>
7475
<?php endif; ?>

0 commit comments

Comments
 (0)