Tanking is been an issue for losing teams. They are alleged for losing in purpose. In order to prevent teams on doing that, here is my idea:
Give the highest odds to the lottery team with best record. Meaning, the team in the middle of the pack in the standings gets the highest chance on landing the #1 overall pick.
Why do it?
Because it will encourage management of teams to build better rosters. If they plan to tank, they need to be at least decent enough to have better odds. It will also force them to go in the playoffs if they are better than they hope to be. Even if they are the worst team this season, they can sign free agents or pull a trade just to be good enough to reach the middle of the standings for next season.