added best/worst sorting to leaderboards