10 beats 7 because 10 has a greater value than 7 and has more digits