- make these comparisons handle the indexes in either order