Question d’entretien chez WESCO International

Sort the array without using inbuilt methods