Segmenting data in a Dataframe and assigning order numbers (Python using Pandas)
I think you are asking how to add a column "priority" to the end of a dataFrame that has been sorted. 

Assuming the dataFrame is in the order you like, I would first get the length of the frame:

length = len(df)


Then apply that to a new column in the dataFrame:

df['**priority**'] = ["**"+str(x)+"**" for x in range(length)


I'm still new to posting on here so I don't know how to get the input/output examples working, but that should get you a new column on the end of your frame, in string format, like you pictured above.