import pandas as pd
data = {
'A': [1, 4, 3],
'B': [5, 2, 6],
'C': [9, 7, 8]
}
df = pd.DataFrame(data, index=['Row1', 'Row2', 'Row3'])
print("Original DataFrame:")
print(df)
df.sort_values(by="B")
df.sort_values(by="A")
df.sort_values(by="C")