[test][index] add a check for the order of resulting Values of a k-NN query iterator