How to group the seed players in tennis match? What about the unseeded players?

Seed 1 is always at the top of the table, and seed 2 is always at the end of the table. No.3 and No.4 seeds are always in the middle of the table signing, and who is in the upper half and who is in the lower half will be decided according to the lottery. Other small seeds are seated by lot. Seedless players are also decided by lottery.