Failed to compare two elements in the array.