Pregunta de entrevista de Deloitte

Code to sort an array without using any predefined class and methods.