If two bidders bid the same amount the earlier bidder wins.
Remember that the high bid you see is only one increment higher than the second highest bid.
The winner may have a much higher maximum bid which no one but he and the gnomes on the eBay computer farms know.