Domanda di colloquio di Infosys

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