Pregunta de entrevista de Infosys

Sort an element without using any collections concepts and sort method?