-- Logic for sorting mentors