React Array Sort Python Dataframe