Ranking opportunity sets in the space of functionings