Check if $GET['ord'] is empty (or invalid) and, if so, set a default value. Something like:
$ord = (isset($_GET['ord']) && ($_GET['ord'] == 'ASC' || $_GET['ord'] == 'DESC') ? $_GET['ord'] : 'DESC'); // sets 'desc' as default
Then, you could output a link that does the opposite of what is selected, e.g.:
$link = ($ord == 'ASC' ? 'DESC' : 'ASC');
EDIT: Might also want to refer to this post by dagon in a thread dealing with this very same topic.