Not for this. The numbers are randomly given to every athlete.
Then they separate by weight.
They then put the Top 8 seeded gents in to their respective positions.
After that they figure out how many first round byes are needed per weight, depending on total entries (97 KG for example has 35 wrestlers, so there needs to be 13 first round byes).
They give the seeded wrestlers, in order the byes first (so 1-8) then randomly drawing in the other five (5) byes - making sure to separate them (so you aren't going to have four of those five being in the bottom and one on top, for example) for a total of 13 byes (for 97 KG specifically) in the first round.
After that all the unseeded wrestlers are ordered from lowest number to highest number and just put in that way. #1 would go in the first available slot, from the top down. If the next number was 56 they would go in the second slot. If then next number was 57 they would go in the third slot.