summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2017-12-25 22:34:41 +0100
committersteckbrief <steckbrief@chefmail.de>2017-12-25 22:34:41 +0100
commit39b7f245baadecbc3aad47e0273ce933ef3acc00 (patch)
treec08a80408a1cf7d51bcf68261bb5a36df3601a14
parent2ec5cbc2aa2fe992d2cccaf6d160950adef521ef (diff)
adding sort of stories in menu
Diffstat (limited to '')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
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) {