update index after sorting data-frame,df2.reset_index(drop=True)