add sort to powerset