looking at your text file, there is no information about what is being referred or how many have been referred.....not to mention who referred what or who referred who 😕
See how confusing your question is?
What exactly do you need? Do you need the first five in the table listed? Do you need the 5 who referred the most listed? Where is the rest of the info coming from?
Post that and I'll bet you get a lot more help.