Pergunta de entrevista da empresa Cognizant

Sorting algorithm any without using inbuilt function.