Pergunta de entrevista da empresa Vodafone Idea

What pointers help with How to sort an array easy way