Fixed sorting issue

Averages would print by teamNumber instead of average