diff --git a/trunk/mt.php b/trunk/mt.php index 631be54..8829435 100644 --- a/trunk/mt.php +++ b/trunk/mt.php @@ -161,6 +161,8 @@ if (isset($_POST['action'])) { } } + + ksort($currentEpisodes); } @@ -395,7 +397,7 @@ label { $episodes) { + foreach ($currentEpisodes as $identifier => $episodes) { $entryCount = count($episodes); $rowspan = $entryCount ? " rowspan=\"{$entryCount}\"" : '';