STP Algorithm: Ports have same cost to root, which port is set to blocking?

view story

http://serverfault.com – Here's the situation: There is a bridge that has the lowest ID within a loop. This bridge has two ports, both with equal cost to the root, how does STP decide which port is forwarding, and which port is blocking? Does it find the port with the highest ID and block on that port? If anyone needs more information, I'd be happy to provide it. Thanks in advance for your help. -Josh (HowTos)