Sort referrals by referral ID by default
Sort visits by visit_id