OSRA-178: Allow ordering of orphans by attributes during sponsorship creation

contains OSRA-213, OSRA-214, OSRA-215 excluding OSRA-216
Everything from here on down isn't a direct concern of the Orphan class and ought to be extracted.