adding a sort index page