improve internship table sorting