How to sort the obtained vector?


#1

Comment body goes here.


#2

Generate it in way that it is sorted.


#4

revers order of recursion implemented .change the orientaion .