sorting list added to main page