Pergunta de entrevista da empresa USAA

Create an process that goes through an array and reorders items within the array using pseudo-code.