df.sort_values(['a', 'b'], ascending=[True, False])
#following is example of sorting by the column "2" in descending order
final_df = df.sort_values(by=['2'], ascending=False)
df1 = df1.set_index('column_in_df1')
df1 = df1.reindex(index=df2['column_in_df2'])
df1 = df1.reset_index()