Sorting

I’m having a problem with sorting by last name in EndNote X9.  In a series of Williamson references, James is followed by John, but James appears again after John several times.  I’ve checked and there are no spelling errors, no extra spaces, etc.  Anybody else had this problem?  Any suggestions for a solution?

What is the output style you are using?