fixed sorting in mother and baby list