Adjust the sorting HTML when we are using a file other than index.php