Wipro interview question

sort array without using sort technique