LexicographicSubsets

LexicographicSubsets[l]
gives all subsets of set l in lexicographic order.

LexicographicSubsets[n]
returns all subsets of in lexicographic order.

DetailsDetails