df.sort_index(axis=1, ascending=False) 排序前: columns 为 A B C D, 排序后为D C B A