fixed json dict leaderboard not sorted based on rank issue