adjusts sorting of main list in index page