Pandas > Sort dataframe along axis

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,5,size=(5, 4)), columns=['C1','C2','C3','C4'])
print ("dataframe")
print (dataframe)
sorted_dataframe = dataframe.sort_values(by=['C1','C2'],axis=0)
print ("sorted dataframe")
print (sorted_dataframe)
dataframe
   C1  C2  C3  C4
0   2   1   2   2
1   4   0   3   2
2   3   2   4   4
3   1   1   0   2
4   1   2   2   4
sorted dataframe
   C1  C2  C3  C4
3   1   1   0   2
4   1   2   2   4
0   2   1   2   2
2   3   2   4   4
1   4   0   3   2