reverting index.php, sort function did not work.