A more interesting question is: how should we as a society set wages to best benefit society? Your answer, I gather, is to leave it to the market. I'm not sure what my answer is, but I do believe the current state of affairs ain't it. For one, I believe the guys that pick up the garbage (an essential and incredibly unpleasant, dangerous, and physically demanding job) should make at least as much as a software developer. If the market disagrees, then that's a small hint that maybe markets aren't the end-all-be-all of economic organization.
Try to transcend for five seconds the decades of propaganda you've sustained -- capitalism is not a law of nature hits bong.