Pregunta de entrevista de Cognizant

Sorting algorithm any without using inbuilt function.