Fixed view creation order error in db_update.sql
Add sort to players_factions_stats in ranking api
Integrate players_factions_stats to ranking view