improved calculation of realtime standings with ranking number

works except for direct comparison