Pergunta de entrevista da empresa Vulcan Cyber

How would you sort an array of objects