Add comment explaining comparison algorithm.