Python Train Test Split On Dataframe Sort