about summary refs log tree commit diff
path: root/sort.php
diff options
context:
space:
mode:
Diffstat (limited to 'sort.php')
-rw-r--r--sort.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/sort.php b/sort.php
index 6e24273..c1b72f4 100644
--- a/sort.php
+++ b/sort.php
@@ -7,8 +7,8 @@ function tocKeysort( $a, $b ){
 }
 
 function tocTitleSort( $a, $b ){
-	$aTitle = $a['title'];
-	$bTitle = $b['title'];
+	$aTitle = strtolower($a['title']);
+	$bTitle = strtolower($b['title']);
 	return strcmp( $aTitle, $bTitle );
 }