Added sort by to index page