Add NCompare(), fix horrible Compare() function.