It's likely that the two tracks that wouldn't sit with the rest of the album had a different album artist to the other tracks (which is why the "album artist" field was blank, iTunes displays nothing in a field that has more than one name entered for the selected tracks). iTunes likes sorting by album artist, so it realised the album artists were different and separated them from the rest of the album.