I sorted the OrderID, but I still get the same result. The thing is, I really have no idea what I am doing. This is the recordset:
$query_rsorders = "SELECT * FROM orders ORDER BY OrderID ASC";
$rsorders = mysql_query($query_rsorders, $connName) or die(mysql_error());
$row_rsorders = mysql_fetch_assoc($rsorders);
$totalRows_rsorders = mysql_num_rows($rsorders);
BTW, the OrderID stays the same at 37.