Make Numpy Array From Pandas Dataframe Sort Rows