The subsets are returned as lists whose elements are in the same order.
i1 : subsets {1,2,3} o1 = {{}, {1}, {2}, {1, 2}, {3}, {1, 3}, {2, 3}, {1, 2, 3}} o1 : List
See also subsets.