formatting fixes, plus a major orderofmagnitude error in which values that were
exact multiples of 10 were given as the order - 1...