(Copyable)ValueComparator use ascending flag, tests added