sorted powerset