now sorting by last name but with errors