Researchers from Stanford, Yale, and UCLA created SmartSort, an algorithm that spreads volunteers more fairly across nonprofits.