add referral as sorting key in sponsor network