Backend for songs.zachdecook.com
Diffstat (limited to 'page.php')
| -rw-r--r-- | page.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -50,6 +50,9 @@ function toc( $sort ){ else if ( $sort == 'verse' ){ usort( $entries, 'tocBooksort' ); } + else if ( $sort == 'title' ){ + usort( $entries, 'tocTitlesort' ); + } } foreach( $entries as $item ){ $toc .= tocentry($item); |