SELECT Name, Species, NumberOfLegs, Danger, DateOfBirth FROM pets WHERE Danger <= 3 AND NumberOfLegs >= 4 AND DateOfBirth > '2005-01-01' ORDER BY Danger ASC, DateOfBirth DESC;