In your browser load sqlinsertwithform.html.  Use it to add a new record into the database for Graham Adams.

Open sqllist.php again and save it as sqlsort.php.  Upload and try the page and you should see the new record on the end of the list but no other changes yet.

On the end of the query after FROM first but before the semi-colon add this including the initial space:

ORDER BY familyName ASC

Upload and try.  The new name should now be first (or at least earlier) because you asked the server to sort the data by surname ascending.  Change ASC to DESC and try again.  Change ORDER BY familyName to ORDER BY personalName and try it.