Some improvements to the Leaderboard Sequencing function. Still not fast enough.