Index: schedule/Module/control.php
===================================================================
--- schedule/Module/control.php	(revision 17430)
+++ schedule/Module/control.php	(revision 17431)
@@ -306,5 +306,5 @@
 function addRowClone(nextrow){
 <?php
-$fetch = mysql_query("SELECT * FROM schedule WHERE date(fStart) = '$days' ORDER BY fScheduleID AND fMeasurementID ASC") or die(mysql_error());
+$fetch = mysql_query("SELECT * FROM schedule WHERE date(fStart) = '$days' ORDER BY fScheduleID ASC, fMeasurementID ASC") or die(mysql_error());
 $cnt3=0;
 $cnt2=0;
