display mysql-table - wrong order displayed : <p>php snippet:</p>

<pre><code>mysqli_select_db($con,"dbtest");
$sql="SELECT * FROM w3school";
$result = mysqli_query($con,$sql);


echo "&lt;ul id='myUL'&gt;";
while($w3school = mysqli_fetch_array($result)) {
    echo "&lt;li id='".$w3school['id']."'&gt;" . $w3school['LastName'] . "&lt;/li&gt;";
}
echo "&lt;ul&gt;";
</code></pre>

<p>SCREEN OUTPUT looks like this:</p>

<pre><code>id = 5;
id = 4;
id = 3;
id = 1;
id = 2;
</code></pre>

<p>I don't see why its not 1,2,3,4 ...</p>

<p>Any suggestions? (any spec info just let me know)</p>
