Question d’entretien chez Infosys

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