First, sort the numbers of 100 according to the following rules.
Add two 9' s to complement the three digits after the single digit and one 9' s to complement the three digits after the ten digits, and sort. If there are duplicates, such as 5, 59, 599, put the column with more numbers in front, but the added 9 is only used when it is greater than the size, and then take it away after sorting to restore the original number. (For example, 9 & gt98 >988) Do these series from top to bottom.
Then, the numbers with the same first number are grouped into a group (3, 35, 378 ...), and the up and down order of the groups remains unchanged, with 9 being the largest and 1 the smallest.
Make a second sort within each group. The rules are as follows
When you meet the number 1, 2, just insert this number immediately below it, and only take the first three digits to form a new number (for example, the three numbers of 3, 34, 348 become 334, 343, 348), and then sort this new number in the group by size. After ranking up and down, remove the added figures and restore the original figures.
Then it'll be fine from top to bottom.
Examples 23, 536, 654, 35, 234, 567, 65, 243, 354, 359, 53 and 5.
The first category is 65,654,5,567,53,536,359,35,354,243,23,234.
The second ranking is 65,654,567,5,536,53,359,354,35,243,234,23.
You're finished.