On Sat, Apr 12, 2014 at 07:38:06AM -0700, Matthew Rocklin wrote:
>    use sorted if all else fails
> 
>  >>> sorted(A.powerset())
>  ....

FiniteSet "str" helper already uses sorted:

    def _print_FiniteSet(self, s):
        s = sorted(s, key=default_sort_key)
        if len(s) > 10:
            printset = s[:3] + ['...'] + s[-3:]
        else:
            printset = s
        return '{' + ', '.join(self._print(el) for el in printset) + '}'