From 39b7f245baadecbc3aad47e0273ce933ef3acc00 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 25 Dec 2017 22:34:41 +0100 Subject: adding sort of stories in menu --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index d5654a2..1d1dbbe 100644 --- a/index.php +++ b/index.php @@ -39,6 +39,8 @@ foreach ($storiesDirContent as $storyName) { } } +ksort($stories, SORT_STRING); + $currentStoryName = visibleName($currentStory); function printEntities($entities, $storyName = NULL) { -- cgit v1.2.3