Sort:  

But @heyimsnuffles's price was closer than the other 2 so he must get the first prize, the second will be for the other two, and the earlier win, right? Cleared? ;)

I changed the table picture. You guys will see it easy this way. ok?