Sort the values of the dataframe `df` and align the columns accordingly based on the obtained indices after np.argsort.,   yaml.load(stream)