Sort Python list of objects by date May 31, 2023 by Tarik results.sort(key=lambda r: r.person.birthdate)