fix when item equal

if tmpi === tmpj,
left point move next, right point move previ and continue loop
otherwise sorter will fail into endless loop
Merge pull request #1 from class4cxy/master

fix when item equal