Question d’entretien chez Pexlify

Sort an array and explain/give time complexity.