Lucid Software interview question

Implement sort function based on a person's age and name