working basis for factions_rankings

(similar to players_ranking)