fix the table sorting bug on user access page.