l=[False,True]
tf_lists = [list(i) for i in itertools.product(l,repeat=6)]
for i in permutations(cols, len(cols)): for j in i: sort_by.append(j)
ori_data.sort_values(by=sort_by, ascending=ascend_by, inplace=True)