Choose first child of an object based on children sorted by identifier; ...

...closes #360