Infosys Interview Question

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