jdscheff/basketball-gm — pull request #10 by jgj (2013-07-26 22:51:04+00:00)
Title: Sort team standings by losses and then wins if win percentage is equal

In the first league I started, my team began the season 8-0 and a division rival started 7-0, yet they were listed as first in the division and I was listed as 2nd, being -0.5 games behind. So I updated the team sorting to sort by win percentage, losses and wins, in that order, to try and resolve ties.

It could then take into account additional factors in the case of a tie, like division/conference/head-to-head record, etc. But I stopped at the first three properties for now.