SELECT * FROM pets WHERE DateOfBirth < '2010-01-01' ORDER BY DateOfBirth ASC; -- Sort by DoB in ascending order (oldest at the top)