writer = pd.ExcelWriter(\'Output.xlsx\', engine=\'xlsxwriter\') Sorted_Dataframe_1.to_excel(writer, sheet_name=\'Sheet1\') Sorted_Dataframe_2.to_excel(writer, sheet_nam