Fix typos in headboards/destination names
[bus.git] / busui / routeList.php
blob:a/busui/routeList.php -> blob:b/busui/routeList.php
--- a/busui/routeList.php
+++ b/busui/routeList.php
@@ -66,7 +66,7 @@
 	    $routeDestinations[$row[2]][]  = $row;
 	}
 	echo '<div class="noscriptnav"> Go to Destination: ';
-		foreach($routeDestinations as $destination => $routes) 
+		foreach(ksort($routeDestinations) as $destination => $routes) 
 		{ 
 		   echo "<a href=\"#$destination\">$destination</a>&nbsp;"; 
 		}