sorting action now traps the title element