fix the chars sort