Compare starting with the most significant digit. Add some tests to catch the case when this is being done wrong.