CR logging fix
move NTuples classes to a new package
test for incorrect comparison when external sorting
fix incorrect comparison when external sorting