Recursion-all-subsequences


all code is fine but i am not getting how to to print them in lexicographic order.