Finish index.php, but sorting unfinished