Domanda di colloquio di Vulcan Cyber

How would you sort an array of objects