Calculating and displaying standings in order from first to last place