Random with probability

Although I guess in my case it would be easier to just find the item with highest value and pit it in a branch against everything else which would be chosen at true random… But that doesn’t sound too elegant of a solution.