Numpy Array Loop Through Pandas Dataframe Sort By Multiple Columns