Compare and Order Whole Numbers
To compare two whole numbers, line up their places and read from the left. The number with more digits is larger; if the digit counts match, the first place where they differ decides it. So 3,517 beats 3,489 at the hundreds place, whatever the digits after it say.