tooin [ ]frame sort_index(axis= ascending=falseout[ ] three one to sort series by its valuesuse its order methodin [ ]obj series([ - ]in [ ]obj order(out[ ] - any missing values are sorted to the end of the series by defaultin [ ]obj series([ np nan np nan- ]in [ ]obj order(out[ ] - nan nan on dataframeyou may want to sort by the values in one or more columns to do sopass one or more column names to the by optionin [ ]frame dataframe({' '[ - ]' '[ ]}in [ ]frame out[ ] - in [ ]frame sort_index(by=' 'out[ ] - to sort by multiple columnspass list of namesin [ ]frame sort_index(by=[' '' ']out[ ] - getting started with pandas www it-ebooks info