heights
array and sort it to obtain the expected
order.mismatchCount
to 0.heights
array.heights
array with the corresponding element in the sorted expected
array.mismatchCount
.mismatchCount
as the number of indices where heights do not match.