I know, it may seem incomprehensible, but UCLA economist Lloyd Shapley and Harvard's Alvin Roth were recognized for their work on market design and matching theory, which is basically the process by which selections are made in markets that don't have prices - or at least have strict constraints on prices. This is breakthrough stuff because prices are the linchpin of classical economics. Alex Tabarrok offers a primer:
Here is how it works, applied to men and women and marriage (n.b. the algorithm is also good for gay marriage but it's a little easier to explain with men and women). Each man proposes to his first ranked choice. Each woman rejects any unacceptable proposals but defers accepting her remaining suitors. Each rejected man proposes to his second ranked choice. Each woman now rejects again any unacceptable proposals, which may include previous suitors who have now become unacceptable. The process repeats until no further proposals are made; each woman then accepts her most preferred suitors and the matches are made. A similar process works when proposal receivers may accept more than one suitor, not that useful for marriage in most of the United States but very useful for when students are applying to schools and each school accepts many students.
LINK
Here is how it works, applied to men and women and marriage (n.b. the algorithm is also good for gay marriage but it's a little easier to explain with men and women). Each man proposes to his first ranked choice. Each woman rejects any unacceptable proposals but defers accepting her remaining suitors. Each rejected man proposes to his second ranked choice. Each woman now rejects again any unacceptable proposals, which may include previous suitors who have now become unacceptable. The process repeats until no further proposals are made; each woman then accepts her most preferred suitors and the matches are made. A similar process works when proposal receivers may accept more than one suitor, not that useful for marriage in most of the United States but very useful for when students are applying to schools and each school accepts many students.
LINK

(Sorry...had to!)